CVE-2023-0215
Last modified
CVE-2023-0215 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 4.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 1.0.2, < 1.0.2zg |
| Openssl | Openssl | >= 1.1.1, < 1.1.1t |
| Openssl | Openssl | >= 3.0.0, < 3.0.8 |
| Stormshield | Stormshield Management Center | < 3.3.3 |
References
- https://security.netapp.com/advisory/ntap-20230427-0007/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230427-0009/Third Party Advisory
- https://www.openssl.org/news/secadv/20230207.txtVendor Advisory
- https://security.netapp.com/advisory/ntap-20230427-0007/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230427-0009/Third Party Advisory
- https://www.openssl.org/news/secadv/20230207.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0215?
How severe is CVE-2023-0215?
How do I fix CVE-2023-0215?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-0208 NVIDIA DCGM for Linux contains a vulnerability in HostEngin…7.1
- CVE-2023-0209NVIDIA DGX-1 SBIOS contains a vulnerability in the Uncore PE…7.8
- CVE-2023-0210A bug affects the Linux kernel’s ksmbd NTLMv2 authentication…7.5
- CVE-2023-0212The Advanced Recent Posts WordPress plugin through 0.6.14 do…5.4
- CVE-2023-0213Elevation of privilege issue in M-Files Installer versions b…7.8
- CVE-2023-0214A cross-site scripting vulnerability in Skyhigh SWG in main …6.1
- CVE-2023-0216An invalid pointer dereference on read can be triggered when…7.5
- CVE-2023-0217An invalid pointer dereference on read can be triggered when…7.5
- CVE-2023-0219The FluentSMTP WordPress plugin before 2.2.3 does not saniti…5.4
- CVE-2023-0220The Pinpoint Booking System WordPress plugin before 2.9.9.2.…8.8
- CVE-2023-0221Product security bypass vulnerability in ACC prior to versio…4.4
- CVE-2023-0223An issue has been discovered in GitLab affecting all version…5.3
Are you affected by CVE-2023-0215?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
