CVE-2023-0215
published high CVSS 3.1 · 7.5Use-after-free following BIO_new_NDEF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSSL | — | OpenSSL3.0.0 to < 3.0.8 · 1.1.1 to < 1.1.1t · 1.0.2 to < 1.0.2zg · Other versions: unaffected | Affected | Not stated | openssl |
| Siemens | — | SCALANCE W1750D (JP)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE W1750D (ROW)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SCALANCE W1750D (USA)0 to < V8.10.0.9 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1934 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1935 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | edk2-aarch64 | Advisory build | 20220126gitbb1bba3d77-4.el8 | ALSA-2023:2932 |
| Alpine Linux | edge | openssl | Fixed | 3.0.8-r0 | Package fix record |
Show 107 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2502 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2OPENSSL-SNAPSAFE-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-101 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | openssl | Advisory build | 1.1.1n-0+deb11u4 | DSA-5343-1 |
| Oracle Linux | 7 | AAVMFaarch64 | Advisory build | 1:1.6.6-1.el7 | ELSA-2023-13027 |
| Red Hat Enterprise Linux | RHEL-8 | edk2src | Advisory build | 20220126gitbb1bba3d77-2.el8_6.1 | RHSA-2023:4128 |
| AlmaLinux | 8 | edk2-ovmf | Advisory build | 20220126gitbb1bba3d77-4.el8 | ALSA-2023:2932 |
| AlmaLinux | 8 | openssl | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-devel | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-libs | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 8 | openssl-perl | Advisory build | 1:1.1.1k-9.el8_7 | ALSA-2023:1405 |
| AlmaLinux | 9 | edk2-aarch64 | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-ovmf | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-tools | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | edk2-tools-doc | Advisory build | 20221207gitfff6d81270b5-9.el9_2 | ALSA-2023:2165 |
| AlmaLinux | 9 | openssl | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-devel | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-libs | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| AlmaLinux | 9 | openssl-perl | Advisory build | 1:3.0.1-47.el9_1 | ALSA-2023:0946 |
| Alpine Linux | v3.14 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl3 | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl3 | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl1.1-compat | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl1.1-compat | Fixed | 1.1.1t-r0 | Package fix record |
| Alpine Linux | v3.19 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.20 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.21 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.22 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.23 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Alpine Linux | v3.24 | openssl | Fixed | 3.0.8-r0 | Package fix record |
| Debian | buster | openssl | Advisory build | 1.1.1n-0+deb10u4 | DLA-3325-1 |
| Oracle Linux | 7 | OVMFx86_64 | Advisory build | 1:1.6.6-1.el7 | ELSA-2023-13026 |
| Oracle Linux | 8 | edk2-aarch64aarch64 | Advisory build | 0:20220126gitbb1bba3d77-4.el8 | ELSA-2023-2932 |
| Oracle Linux | 8 | edk2-aarch64aarch64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-13025 |
| Oracle Linux | 8 | edk2-ovmfx86_64 | Advisory build | 0:20220126gitbb1bba3d77-4.el8 | ELSA-2023-2932 |
| Oracle Linux | 8 | edk2-ovmfx86_64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-13025 |
| Oracle Linux | 8 | edk2-toolsaarch64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-32791 |
| Oracle Linux | 8 | edk2-toolsx86_64 | Advisory build | 1:20230821-1.el8 | ELSA-2023-32791 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-debugsourceaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 1:1.1.1k-9.el8_7 | ELSA-2023-1405 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 8 | openssl-staticaarch64 | Advisory build | 2:1.1.1k-9.ksplice1.el8_7 | ELSA-2023-12213 |
| Oracle Linux | 9 | edk2-aarch64aarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-aarch64aarch64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-13024 |
| Oracle Linux | 9 | edk2-aarch64x86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-ovmfx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-ovmfx86_64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-13024 |
| Oracle Linux | 9 | edk2-toolsaarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-toolsaarch64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-32790 |
| Oracle Linux | 9 | edk2-toolsx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-toolsx86_64 | Advisory build | 30:20230821-1.el9 | ELSA-2023-32790 |
| Oracle Linux | 9 | edk2-tools-docaarch64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | edk2-tools-docx86_64 | Advisory build | 0:20221207gitfff6d81270b5-9.el9_2 | ELSA-2023-2165 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 1:3.0.1-47.0.1.el9_1 | ELSA-2023-0946 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 2:3.0.1-47.0.1.ksplice1.el9_1 | ELSA-2023-12152 |
| Red Hat Enterprise Linux | RHEL-8 | edk2src | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-aarch64noarch | Advisory build | 20220126gitbb1bba3d77-2.el8_6.1 | RHSA-2023:4128 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-aarch64noarch | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-ovmfnoarch | Advisory build | 20220126gitbb1bba3d77-2.el8_6.1 | RHSA-2023:4128 |
| Red Hat Enterprise Linux | RHEL-8 | edk2-ovmfnoarch | Advisory build | 20220126gitbb1bba3d77-4.el8 | RHSA-2023:2932 |
| Red Hat Enterprise Linux | RHEL-8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslaarch64 | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslppc64le | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslppc64le | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | openssls390x | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | openssls390x | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslsrc | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
| Red Hat Enterprise Linux | RHEL-8 | opensslsrc | Advisory build | 1:1.1.1k-9.el8_7 | RHSA-2023:1405 |
| Red Hat Enterprise Linux | RHEL-8 | opensslx86_64 | Advisory build | 1:1.1.1k-9.el8_6 | RHSA-2023:3408 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 to < 3.0.8 (affected · semver)1.1.1 to < 1.1.1t (affected · custom)1.0.2 to < 1.0.2zg (affected · custom)Default: unaffected | openssl · cna |
| Siemens | SCALANCE W1750D (JP) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE W1750D (ROW) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SCALANCE W1750D (USA) | 0 to < V8.10.0.9 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- use-after-free
- CWE-416 CWE-416 Use After Free
References
19- https://cert-portal.siemens.com/productcert/html/ssa-203374.html
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- 3.0.8 git commit https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1b740a5aaba2a987e75bfbafd
- 1.0.2zg patch (premium) https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ace4037d5da5257f763aeeb4eb
- 1.1.1t git commit https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c654652201e16f8a0a0c46ee3f344
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://security.gentoo.org/glsa/202402-08
- https://security.netapp.com/advisory/ntap-20230427-0007/
- https://security.netapp.com/advisory/ntap-20230427-0009/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- OpenSSL Advisory https://www.openssl.org/news/secadv/20230207.txt
Provider assertions
4openssl · cna
Use-after-free following BIO_new_NDEF
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e4b8165bb377973ce6f5eb3b9012da60ff5dc1278b056c1f370300d297e351b1
- Ingested
- 14 Oct 2026, 20:24:43 UTC
- Source record
- Official CVE record