OESA-2022-2021 (CVE-2022-3515)
Vulnerability from osv_openeuler – Published: 2022-10-28 11:05 – Updated: 2026-08-06 11:05 – Source websiteLibksba is a library to make the tasks of working with X.509 certificates,CMS data and related objects more easy. It provides a highlevel interface to the implemented protocols and presents the data in a consistent way.
Security Fix(es):
A bug found in libksba, the library used by GnuPG for parsing the ASN.1 structures as used by S/MIME. The bug affects all versions of Libksba before 1.6.2 and may be used for remote code execution.
https://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html https://dev.gnupg.org/T6230 https://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b https://lwn.net/Articles/911467/(CVE-2022-3515)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"libksba-debuginfo-1.4.0-3.oe1.aarch64.rpm",
"libksba-debugsource-1.4.0-3.oe1.aarch64.rpm",
"libksba-devel-1.4.0-3.oe1.aarch64.rpm",
"libksba-1.4.0-3.oe1.aarch64.rpm"
],
"noarch": [
"libksba-help-1.4.0-3.oe1.noarch.rpm"
],
"src": [
"libksba-1.4.0-3.oe1.src.rpm"
],
"x86_64": [
"libksba-devel-1.4.0-3.oe1.x86_64.rpm",
"libksba-debuginfo-1.4.0-3.oe1.x86_64.rpm",
"libksba-1.4.0-3.oe1.x86_64.rpm",
"libksba-debugsource-1.4.0-3.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "libksba",
"purl": "pkg:rpm/openEuler/libksba\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.0-3.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libksba-1.4.0-3.oe1.aarch64.rpm",
"libksba-debuginfo-1.4.0-3.oe1.aarch64.rpm",
"libksba-devel-1.4.0-3.oe1.aarch64.rpm",
"libksba-debugsource-1.4.0-3.oe1.aarch64.rpm"
],
"noarch": [
"libksba-help-1.4.0-3.oe1.noarch.rpm"
],
"src": [
"libksba-1.4.0-3.oe1.src.rpm"
],
"x86_64": [
"libksba-debuginfo-1.4.0-3.oe1.x86_64.rpm",
"libksba-1.4.0-3.oe1.x86_64.rpm",
"libksba-devel-1.4.0-3.oe1.x86_64.rpm",
"libksba-debugsource-1.4.0-3.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP3",
"name": "libksba",
"purl": "pkg:rpm/openEuler/libksba\u0026distro=openEuler-20.03-LTS-SP3"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.0-3.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"libksba-debuginfo-1.6.0-2.oe2203.aarch64.rpm",
"libksba-devel-1.6.0-2.oe2203.aarch64.rpm",
"libksba-debugsource-1.6.0-2.oe2203.aarch64.rpm",
"libksba-1.6.0-2.oe2203.aarch64.rpm"
],
"noarch": [
"libksba-help-1.6.0-2.oe2203.noarch.rpm"
],
"src": [
"libksba-1.6.0-2.oe2203.src.rpm"
],
"x86_64": [
"libksba-devel-1.6.0-2.oe2203.x86_64.rpm",
"libksba-debugsource-1.6.0-2.oe2203.x86_64.rpm",
"libksba-1.6.0-2.oe2203.x86_64.rpm",
"libksba-debuginfo-1.6.0-2.oe2203.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:22.03-LTS",
"name": "libksba",
"purl": "pkg:rpm/openEuler/libksba\u0026distro=openEuler-22.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.0-2.oe2203"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "Libksba is a library to make the tasks of working with X.509 certificates,CMS data and related objects more easy. It provides a highlevel interface to the implemented protocols and presents the data in a consistent way.\r\n\r\nSecurity Fix(es):\r\n\r\nA bug found in libksba, the library used by GnuPG for parsing the ASN.1 structures as used by S/MIME. The bug affects all versions of Libksba before 1.6.2 and may be used for remote code execution. \r\n\r\nhttps://www.gnupg.org/blog/20221017-pepe-left-the-ksba.html\nhttps://dev.gnupg.org/T6230\nhttps://dev.gnupg.org/rK4b7d9cd4a018898d7714ce06f3faf2626c14582b\nhttps://lwn.net/Articles/911467/(CVE-2022-3515)",
"id": "OESA-2022-2021",
"modified": "2026-08-06T11:05:20Z",
"published": "2022-10-28T11:05:20Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2021"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3515"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "libksba security update",
"upstream": [
"CVE-2022-3515"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.