CVE-2024-0727
Published Jan 26, 2024
Last updated a month ago
Overview
- 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.
- Source
- openssl-security@openssl.org
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 5.5
- Impact score
- 3.6
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
Weaknesses
- nvd@nist.gov
- NVD-CWE-noinfo
- openssl-security@openssl.org
- CWE-476
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E30B9424-68AA-4ED4-A1CB-3DA32A2350EC", "versionEndExcluding": "1.0.2zj", "versionStartIncluding": "1.0.2" }, { "criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "93CF937D-2520-44AF-B40B-B41720BEAB36", "versionEndExcluding": "1.1.1x", "versionStartIncluding": "1.1.1" }, { "criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "21346C7C-ED3A-43D4-BBCB-41D62F7ACBF2", "versionEndExcluding": "3.0.13", "versionStartIncluding": "3.0.0" }, { "criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "AAD34F57-90D2-415F-9544-70B594D04E53", "versionEndExcluding": "3.1.5", "versionStartIncluding": "3.1.0" }, { "criteria": "cpe:2.3:a:openssl:openssl:3.2.0:-:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "AA5220D8-3CAD-4524-BA73-1656FB437446" } ], "operator": "OR" } ] } ]