CVE-2024-0727
PKCS12 Decoding crashes
- Published
- Updated
- Reserved
- Assigned by
- openssl
Description
Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL to crash leading to a potential Denial of Service attack Impact summary: Applications loading files in the PKCS12 format from untrusted sources might terminate abruptly. A file in PKCS12 format can contain certificates and keys and may come from an untrusted source. The PKCS12 specification allows certain fields to be NULL, but OpenSSL does not correctly check for this case. This can lead to a NULL pointer dereference that results in OpenSSL crashing. If an application processes PKCS12 files from an untrusted source using the OpenSSL APIs then that application will be vulnerable to this issue. OpenSSL APIs that are vulnerable to this are: PKCS12_parse(), PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes() and PKCS12_newpass(). We have also fixed a similar issue in SMIME_write_PKCS7(). However since this function is related to writing data we do not consider it security significant. The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.2% · top 12% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIcryptographyGHSA-9v9h-cgj8-h64p (opens in a new tab)
References (15)
- OpenSSL Advisory (opens in a new tab)vendor-advisoryx_transferred
- 3.2.1 git commit (opens in a new tab)patchx_transferred
- 3.1.5 git commit (opens in a new tab)patchx_transferred
- 3.0.13 git commit (opens in a new tab)patchx_transferred
- 1.1.1x git commit (opens in a new tab)patchx_transferred
- 1.0.2zj git commit (opens in a new tab)patchx_transferred
- https://security.netapp.com/advisory/ntap-20240208-0006/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/03/11/1 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/11/msg00000.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/10/msg00033.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-331112.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-915275.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-277137.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9v9h-cgj8-h64p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-0727)Record last updated .