CVE-2023-0215
No exploitation reported by the sources we read.
- Published2023-02-08
- Fixed in3.0.8 · 1.1.1t · 1.0.2zg
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the caller, prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIO_pop() on the BIO then a use-after-free will occur. This will most likely result in a crash. This scenario occurs directly in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7. Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream. The OpenSSL cms and smime command line applications are similarly affected.
Timeline
dates in UTC- 2023-02-0820:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-0215?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-0215?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.0 | ≥ 3.0.0, < 3.0.8 | 3.0.8 | NVD |
| 1.1 | ≥ 1.1.1, < 1.1.1t | 1.1.1t | NVD |
| 1.0 | ≥ 1.0.2, < 1.0.2zg | 1.0.2zg | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 300.0 | ≥ 300.0.0, < 300.0.12 | 300.0.12 | OSV |
| 111.25 | ≥ 0.0.0-0, < 111.25.0 | 111.25.0 | OSV |
| 111.25 | < 111.25.0 | 111.25.0 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.3 | < 3.3.3 | 3.3.3 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- edk2-ovmfAlmaLinux:8all versions · fixed in 20220126gitbb1bba3d77-4.el8and 1 other package
- edk2-toolsAlmaLinux:9all versions · fixed in 20221207gitfff6d81270b5-9.el9_2and 3 other packages
- opensslAlmaLinux:9all versions · fixed in 1:3.0.1-47.el9_1and 3 other packages
- opensslAlmaLinux:8all versions · fixed in 1:1.1.1k-9.el8_7and 3 other packages
Vendor advisories
Hitachi Energy PCU400
PCU400 versions 6.5 K and below · PCU400 versions 9.4.1 and below · PCULogger versions 1.1.0 and below
Hitachi Energy AFS/AFR Series Products
Hitachi Energy AFS650: <=9.1.08 · Hitachi Energy AFS660-C: <=7.1.05 · Hitachi Energy AFS665-B: <=7.1.05 · +5 more
Siemens SCALANCE XM-400, XR-500
SCALANCE XM408-4C (6GK5408-4GP00-2AM2) · SCALANCE XM408-4C (L3 int.) (6GK5408-4GQ00-2AM2) · SCALANCE XM408-8C (6GK5408-8GS00-2AM2) · +23 more
Hitachi Energy Lumada APM Edge
Lumada APM Edge: <= 4.0 · Lumada APM Edge: 6.3
Siemens SCALANCE W1750D Devices
SCALANCE W1750D (JP) (6GK5750-2HX01-1AD0) · SCALANCE W1750D (ROW) (6GK5750-2HX01-1AA0) · SCALANCE W1750D (USA) (6GK5750-2HX01-1AB0)
Fix
- Update OpenSSL to 3.0.8 · 1.1.1t · 1.0.2zg
- Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 6.6.0 or latest
- Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 9.4.2 or latest
- Vendor fix CISA ICSA-24-205-02 · 1 productAFS650: Update to AFS 650 firmware version 9.1.10
- Vendor fix CISA ICSA-24-205-02 · 3 productsAFS660-C, AFS665-B, AFS670-V2: Update to AFS 66x firmware version 7.1.08
- Vendor fix CISA ICSA-24-205-02 · 4 productsAFS670/675/677, AFR677: Update to AFS/AFR 67x firmware version 9.1.10
- Vendor fix CISA ICSA-24-165-11 · 26 productsUpdate to V6.6.1 or later version
Advisories and patches
- git.openssl.orgPatch · Vendor Advisory
- git.openssl.orgPatch · Vendor Advisory
- git.openssl.orgPatch · Vendor Advisory
- www.openssl.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2023-02-08
- Last Modified
- 2026-10-14
- NVD status
- Modified
Frequently asked questions
What is CVE-2023-0215?
Is CVE-2023-0215 actively exploited?
What is the CVSS score for CVE-2023-0215?
Running OpenSSL? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.