CVE-2022-3515
GnuPG libksba CRL File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
A vulnerability was found in the Libksba library due to an integer overflow within the CRL parser. The vulnerability can be exploited remotely for code execution on the target system by passing specially crafted data to the application, for example, a malicious S/MIME attachment.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GnuPG libksba. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
The specific flaw exists within the parsing of CRL files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-10-14 CVE Reserved
- 2022-10-17 CVE Published
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- 2024-10-01 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-190: Integer Overflow or Wraparound
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://security.netapp.com/advisory/ntap-20230706-0008 | ||
https://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2135610 | 2024-08-03 | |
https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-3515 | 2022-11-22 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Gnupg Search vendor "Gnupg" | Libksba Search vendor "Gnupg" for product "Libksba" | < 1.6.3 Search vendor "Gnupg" for product "Libksba" and version " < 1.6.3" | - |
Affected
| ||||||
Gpg4win Search vendor "Gpg4win" | Gpg4win Search vendor "Gpg4win" for product "Gpg4win" | >= 2.0.0 < 4.1.0 Search vendor "Gpg4win" for product "Gpg4win" and version " >= 2.0.0 < 4.1.0" | - |
Affected
| ||||||
Gnupg Search vendor "Gnupg" | Vs-desktop Search vendor "Gnupg" for product "Vs-desktop" | >= 3.1.16 < 3.1.26 Search vendor "Gnupg" for product "Vs-desktop" and version " >= 3.1.16 < 3.1.26" | - |
Affected
| ||||||
Gnupg Search vendor "Gnupg" | Gnupg Search vendor "Gnupg" for product "Gnupg" | >= 2.1.0 < 2.2.41 Search vendor "Gnupg" for product "Gnupg" and version " >= 2.1.0 < 2.2.41" | lts |
Affected
| ||||||
Gnupg Search vendor "Gnupg" | Gnupg Search vendor "Gnupg" for product "Gnupg" | >= 2.3.0 < 2.4.0 Search vendor "Gnupg" for product "Gnupg" and version " >= 2.3.0 < 2.4.0" | - |
Affected
|