Invalid pointer dereference in d2i_PKCS7 functions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-476.
Summary
An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 to before 3.0.8 | 3.0.8 | Patch available | CNA |
| — | openssl-src (crates.io) | 300.0.0 to before 300.0.12 | 300.0.12 | Patch available | GHSA-29xx-hcv2-c4cp |
- OpenSSL VendorOpenSSL Affected 3.0.0 to before 3.0.8 Fixed in 3.0.8 Patch available CNA
- openssl-src (crates.io) Vendor— Affected 300.0.0 to before 300.0.12 Fixed in 300.0.12 Patch available GHSA-29xx-hcv2-c4cp
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 3.0.0 – 3.0.7 | Vulnerable | OpenSSL |
| cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:* | before 3.3.3 | Vulnerable | Stormshield |
- cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* Versions 3.0.0 – 3.0.7 Vulnerable ·OpenSSL
- cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:* Versions before 3.3.3 Vulnerable ·Stormshield
Remediation
- Fix · CNA OpenSSL (OpenSSL) Fixed in 3.0.8
- Fix · GHSA-29xx-hcv2-c4cp openssl-src (crates.io) Fixed in 300.0.12 Advisory →
Red Hat 2 advisories
- RHSA-2023:1199 Released 2023-03-14 · Red Hat rating Importantopenssl security and bug fix update
- Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-devel-1:3.0.1-46.el9_0, openssl-perl-1:3.0.1-46.el9_0
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl-1:3.0.1-46.el9_0, openssl-libs-1:3.0.1-46.el9_0
- RHSA-2023:0946 Released 2023-02-28 · Red Hat rating Importantopenssl security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) openssl-devel-1:3.0.1-47.el9_1, openssl-perl-1:3.0.1-47.el9_1
- Red Hat Enterprise Linux BaseOS (v. 9) openssl-1:3.0.1-47.el9_1, openssl-libs-1:3.0.1-47.el9_1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
OpenSSL — openssl.org/news/secadv/20230207.txt
7 records Highest priority Priority HIGH 1 HIGH, 6 MEDIUM
Other records, highest priority first
- TI-2023-00271 X.400 address type confusion in X.509 GeneralNamePriority HIGH 70
- TI-2022-04067 Double free after calling PEM_read_bio_exPriority MEDIUM 62
- TI-2023-00208 Use-after-free following BIO_new_NDEFPriority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:0946 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:1199 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:0946 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2023:1199 |
Not affected: 7 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat JBoss Core Services
- Red Hat JBoss Web Server 3
- Red Hat JBoss Web Server 5
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0216
- 2026-10-03 Alias added: GHSA-29xx-hcv2-c4cp
References
More Openssl vulnerabilities
- TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
- TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
- TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
Sources
- CVE-2023-0216 · CVE Program
- CVE-2023-0216 · NVD
- FIRST EPSS
- GHSA-29xx-hcv2-c4cp · GitHub Advisory Database · CC BY 4.0
- CVE-2023-0216 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences