{"api_version":"1","generated_at":"2026-04-22T22:49:47+00:00","cve":"CVE-2023-0215","urls":{"html":"https://cve.report/CVE-2023-0215","api":"https://cve.report/api/cve/CVE-2023-0215.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-0215","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-0215"},"summary":{"title":"CVE-2023-0215","description":"The public API function BIO_new_NDEF is a helper function used for streaming\nASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the\nSMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by\nend user applications.\n\nThe function receives a BIO from the caller, prepends a new BIO_f_asn1 filter\nBIO onto the front of it to form a BIO chain, and then returns the new head of\nthe BIO chain to the caller. Under certain conditions, for example if a CMS\nrecipient public key is invalid, the new filter BIO is freed and the function\nreturns a NULL result indicating a failure. However, in this case, the BIO chain\nis not properly cleaned up and the BIO passed by the caller still retains\ninternal pointers to the previously freed filter BIO. If the caller then goes on\nto call BIO_pop() on the BIO then a use-after-free will occur. This will most\nlikely result in a crash.\n\n\n\nThis scenario occurs directly in the internal function B64_write_ASN1() which\nmay cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on\nthe BIO. This internal function is in turn called by the public API functions\nPEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream,\nSMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7.\n\nOther public API functions that may be impacted by this include\ni2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and\ni2d_PKCS7_bio_stream.\n\nThe OpenSSL cms and smime command line applications are similarly affected.","state":"PUBLIC","assigner":"openssl-security@openssl.org","published_at":"2023-02-08 20:15:00","updated_at":"2024-02-04 09:15:00"},"problem_types":["CWE-416"],"metrics":[],"references":[{"url":"https://www.openssl.org/news/secadv/20230207.txt","name":"https://www.openssl.org/news/secadv/20230207.txt","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1b740a5aaba2a987e75bfbafd","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1b740a5aaba2a987e75bfbafd","refsource":"MISC","tags":[],"title":"git.openssl.org Git - openssl.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"404"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ace4037d5da5257f763aeeb4eb","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ace4037d5da5257f763aeeb4eb","refsource":"MISC","tags":[],"title":"git.openssl.org Git - openssl.git/commitdiff","mime":"text/xml","httpstatus":"404","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20230427-0007/","name":"https://security.netapp.com/advisory/ntap-20230427-0007/","refsource":"MISC","tags":[],"title":"April 2023 MySQL Server Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202402-08","name":"https://security.gentoo.org/glsa/202402-08","refsource":"","tags":[],"title":"OpenSSL: Multiple Vulnerabilities (GLSA 202402-08) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c654652201e16f8a0a0c46ee3f344","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c654652201e16f8a0a0c46ee3f344","refsource":"MISC","tags":[],"title":"git.openssl.org Git - openssl.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20230427-0009/","name":"https://security.netapp.com/advisory/ntap-20230427-0009/","refsource":"MISC","tags":[],"title":"CVE-2023-0215 MySQL Connector/ODBC Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0215","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0215","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"215","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openssl","cpe5":"openssl","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"215","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"stormshield","cpe5":"stormshield_management_center","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-0215","qid":"160481","title":"Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-0946)"},{"cve":"CVE-2023-0215","qid":"160492","title":"Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-12152)"},{"cve":"CVE-2023-0215","qid":"160521","title":"Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-1405)"},{"cve":"CVE-2023-0215","qid":"160523","title":"Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-12213)"},{"cve":"CVE-2023-0215","qid":"160621","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-2165)"},{"cve":"CVE-2023-0215","qid":"160668","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-2932)"},{"cve":"CVE-2023-0215","qid":"161209","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-13026)"},{"cve":"CVE-2023-0215","qid":"161210","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-13024)"},{"cve":"CVE-2023-0215","qid":"161212","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-32791)"},{"cve":"CVE-2023-0215","qid":"161213","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-13025)"},{"cve":"CVE-2023-0215","qid":"161214","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-13027)"},{"cve":"CVE-2023-0215","qid":"161215","title":"Oracle Enterprise Linux Security Update for edk2 (ELSA-2023-32790)"},{"cve":"CVE-2023-0215","qid":"181546","title":"Debian Security Update for Open Secure Sockets Layer (OpenSSL) (DSA 5343-1)"},{"cve":"CVE-2023-0215","qid":"181593","title":"Debian Security Update for Open Secure Sockets Layer (OpenSSL) (DLA 3325-1)"},{"cve":"CVE-2023-0215","qid":"182419","title":"Debian Security Update for Open Secure Sockets Layer (OpenSSL) (CVE-2023-0215)"},{"cve":"CVE-2023-0215","qid":"199150","title":"Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-5844-1)"},{"cve":"CVE-2023-0215","qid":"199151","title":"Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-5845-1)"},{"cve":"CVE-2023-0215","qid":"199518","title":"Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-5845-2)"},{"cve":"CVE-2023-0215","qid":"200021","title":"Ubuntu Security Notification for Node.js Vulnerabilities (USN-6564-1)"},{"cve":"CVE-2023-0215","qid":"20344","title":"Oracle MySQL April 2023 Critical Patch Update (CPUAPR2023)"},{"cve":"CVE-2023-0215","qid":"241227","title":"Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:0946)"},{"cve":"CVE-2023-0215","qid":"241256","title":"Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:1199)"},{"cve":"CVE-2023-0215","qid":"241285","title":"Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:1405)"},{"cve":"CVE-2023-0215","qid":"241469","title":"Red Hat Update for edk2 security (RHSA-2023:2165)"},{"cve":"CVE-2023-0215","qid":"241496","title":"Red Hat Update for edk2 (RHSA-2023:2932)"},{"cve":"CVE-2023-0215","qid":"241568","title":"Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:3408)"},{"cve":"CVE-2023-0215","qid":"241574","title":"Red Hat Update for JBoss Core Services (RHSA-2023:3354)"},{"cve":"CVE-2023-0215","qid":"241833","title":"Red Hat Update for edk2 (RHSA-2023:4128)"},{"cve":"CVE-2023-0215","qid":"283694","title":"Fedora Security Update for Open Secure Sockets Layer (OpenSSL) (FEDORA-2023-57f33242bc)"},{"cve":"CVE-2023-0215","qid":"283709","title":"Fedora Security Update for edk2 (FEDORA-2023-e1ffb79ddf)"},{"cve":"CVE-2023-0215","qid":"283736","title":"Fedora Security Update for Open Secure Sockets Layer (OpenSSL) (FEDORA-2023-a5564c0a3f)"},{"cve":"CVE-2023-0215","qid":"283759","title":"Fedora Security Update for edk2 (FEDORA-2023-e821b64a4c)"},{"cve":"CVE-2023-0215","qid":"296101","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 59.138.2 Missing (CPUJUL2023)"},{"cve":"CVE-2023-0215","qid":"330133","title":"IBM Advanced Interactive eXecutive (AIX) Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (openssl_advisory38)"},{"cve":"CVE-2023-0215","qid":"354734","title":"Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS-2023-1683"},{"cve":"CVE-2023-0215","qid":"354735","title":"Amazon Linux Security Advisory for Open Secure Sockets Layer11 (OpenSSL11) : ALAS2-2023-1934"},{"cve":"CVE-2023-0215","qid":"354737","title":"Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2-2023-1935"},{"cve":"CVE-2023-0215","qid":"355058","title":"Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : AL2012-2023-382"},{"cve":"CVE-2023-0215","qid":"355230","title":"Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2023-2023-101"},{"cve":"CVE-2023-0215","qid":"356233","title":"Amazon Linux Security Advisory for openssl-snapsafe : ALASOPENSSL-SNAPSAFE-2023-002"},{"cve":"CVE-2023-0215","qid":"356483","title":"Amazon Linux Security Advisory for openssl-snapsafe : ALAS2OPENSSL-SNAPSAFE-2023-002"},{"cve":"CVE-2023-0215","qid":"357333","title":"Amazon Linux Security Advisory for edk2 : ALAS2-2024-2502"},{"cve":"CVE-2023-0215","qid":"378416","title":"Alibaba Cloud Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ALINUX3-SA-2023:0033)"},{"cve":"CVE-2023-0215","qid":"378430","title":"Oracle MySQL Connectors 8.0.x Denial of Service (DoS) Vulnerability (CPUAPR2023)"},{"cve":"CVE-2023-0215","qid":"378438","title":"HCL BigFix Multiple Security Vulnerabilities (KB0103724)"},{"cve":"CVE-2023-0215","qid":"378445","title":"F5 BIG-IP Denial of Service (DoS) Vulnerability (K000132946)"},{"cve":"CVE-2023-0215","qid":"378515","title":"Alibaba Cloud Linux Security Update for edk2 (ALINUX3-SA-2023:0044)"},{"cve":"CVE-2023-0215","qid":"378599","title":"Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)"},{"cve":"CVE-2023-0215","qid":"379452","title":"IBM Cognos Analytics Multiple Vulnerabilities (7123154)"},{"cve":"CVE-2023-0215","qid":"38894","title":"Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities"},{"cve":"CVE-2023-0215","qid":"43991","title":"Hewlett Packard Enterprise (HPE) ArubaOS Multiple Vulnerabilities (ARUBA-PSA-2023-001)"},{"cve":"CVE-2023-0215","qid":"502652","title":"Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)"},{"cve":"CVE-2023-0215","qid":"502653","title":"Alpine Linux Security Update for Open Secure Sockets Layer3 (OpenSSL3)"},{"cve":"CVE-2023-0215","qid":"502757","title":"Alpine Linux Security Update for openssl"},{"cve":"CVE-2023-0215","qid":"502907","title":"Alpine Linux Security Update for openssl1.1-compat"},{"cve":"CVE-2023-0215","qid":"505784","title":"Alpine Linux Security Update for openssl1.1-compat"},{"cve":"CVE-2023-0215","qid":"672879","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1602)"},{"cve":"CVE-2023-0215","qid":"672984","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1875)"},{"cve":"CVE-2023-0215","qid":"673006","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1850)"},{"cve":"CVE-2023-0215","qid":"673018","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1982)"},{"cve":"CVE-2023-0215","qid":"673042","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-1960)"},{"cve":"CVE-2023-0215","qid":"673060","title":"EulerOS Security Update for shim-signed (EulerOS-SA-2023-2170)"},{"cve":"CVE-2023-0215","qid":"673064","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2161)"},{"cve":"CVE-2023-0215","qid":"673072","title":"EulerOS Security Update for shim (EulerOS-SA-2023-2169)"},{"cve":"CVE-2023-0215","qid":"673136","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2299)"},{"cve":"CVE-2023-0215","qid":"673156","title":"EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2275)"},{"cve":"CVE-2023-0215","qid":"673398","title":"EulerOS Security Update for linux-sgx (EulerOS-SA-2023-3047)"},{"cve":"CVE-2023-0215","qid":"691051","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for Open Secure Sockets Layer (OpenSSL) (648a432c-a71f-11ed-86e9-d4c9ef517024)"},{"cve":"CVE-2023-0215","qid":"710857","title":"Gentoo Linux Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (GLSA 202402-08)"},{"cve":"CVE-2023-0215","qid":"730818","title":"IBM MQ Appliance Multiple Security Vulnerabilities (6986567)"},{"cve":"CVE-2023-0215","qid":"753631","title":"SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:0305-1)"},{"cve":"CVE-2023-0215","qid":"753633","title":"SUSE Enterprise Linux Security Update for openssl1 (SUSE-SU-2023:0307-1)"},{"cve":"CVE-2023-0215","qid":"753634","title":"SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:0306-1)"},{"cve":"CVE-2023-0215","qid":"753636","title":"SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:0310-1)"},{"cve":"CVE-2023-0215","qid":"753637","title":"SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:0308-1)"},{"cve":"CVE-2023-0215","qid":"753640","title":"SUSE Enterprise Linux Security Update for openssl-3 (SUSE-SU-2023:0312-1)"},{"cve":"CVE-2023-0215","qid":"753647","title":"SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:0311-1)"},{"cve":"CVE-2023-0215","qid":"753649","title":"SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:0309-1)"},{"cve":"CVE-2023-0215","qid":"754071","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754072","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305-2)"},{"cve":"CVE-2023-0215","qid":"754079","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754080","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754084","title":"SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754085","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754086","title":"SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754087","title":"SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"754088","title":"SUSE Enterprise Linux Security Update for openssl-1_0_0 (SUSE-SU-2023:0305)"},{"cve":"CVE-2023-0215","qid":"905439","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for cloud-hypervisor (13301)"},{"cve":"CVE-2023-0215","qid":"905441","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for shim-unsigned-x64 (13315)"},{"cve":"CVE-2023-0215","qid":"905445","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for shim-unsigned-aarch64 (13314)"},{"cve":"CVE-2023-0215","qid":"905446","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rust (13312)"},{"cve":"CVE-2023-0215","qid":"905447","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for shim-unsigned-x64 (13336)"},{"cve":"CVE-2023-0215","qid":"905452","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (13325)"},{"cve":"CVE-2023-0215","qid":"905454","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for shim-unsigned-aarch64 (13335)"},{"cve":"CVE-2023-0215","qid":"905457","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for rust (13333)"},{"cve":"CVE-2023-0215","qid":"905460","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for cloud-hypervisor (13317)"},{"cve":"CVE-2023-0215","qid":"905464","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (13352)"},{"cve":"CVE-2023-0215","qid":"905481","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (13325-1)"},{"cve":"CVE-2023-0215","qid":"905503","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for Open Secure Sockets Layer (OpenSSL) (13352-1)"},{"cve":"CVE-2023-0215","qid":"906766","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for cloud-hypervisor (13301-1)"},{"cve":"CVE-2023-0215","qid":"940941","title":"AlmaLinux Security Update for Open Secure Sockets Layer (OpenSSL) (ALSA-2023:0946)"},{"cve":"CVE-2023-0215","qid":"940962","title":"AlmaLinux Security Update for Open Secure Sockets Layer (OpenSSL) (ALSA-2023:1405)"},{"cve":"CVE-2023-0215","qid":"941044","title":"AlmaLinux Security Update for edk2 (ALSA-2023:2165)"},{"cve":"CVE-2023-0215","qid":"941103","title":"AlmaLinux Security Update for edk2 (ALSA-2023:2932)"},{"cve":"CVE-2023-0215","qid":"960886","title":"Rocky Linux Security Update for Open Secure Sockets Layer (OpenSSL) (RLSA-2023:1405)"},{"cve":"CVE-2023-0215","qid":"960889","title":"Rocky Linux Security Update for Open Secure Sockets Layer (OpenSSL) (RLSA-2023:0946)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-0215","ASSIGNER":"openssl-security@openssl.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"The public API function BIO_new_NDEF is a helper function used for streaming\nASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the\nSMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by\nend user applications.\n\nThe function receives a BIO from the caller, prepends a new BIO_f_asn1 filter\nBIO onto the front of it to form a BIO chain, and then returns the new head of\nthe BIO chain to the caller. Under certain conditions, for example if a CMS\nrecipient public key is invalid, the new filter BIO is freed and the function\nreturns a NULL result indicating a failure. However, in this case, the BIO chain\nis not properly cleaned up and the BIO passed by the caller still retains\ninternal pointers to the previously freed filter BIO. If the caller then goes on\nto call BIO_pop() on the BIO then a use-after-free will occur. This will most\nlikely result in a crash.\n\n\n\nThis scenario occurs directly in the internal function B64_write_ASN1() which\nmay cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on\nthe BIO. This internal function is in turn called by the public API functions\nPEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream,\nSMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7.\n\nOther public API functions that may be impacted by this include\ni2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and\ni2d_PKCS7_bio_stream.\n\nThe OpenSSL cms and smime command line applications are similarly affected.\n\n\n\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"use-after-free"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"OpenSSL","product":{"product_data":[{"product_name":"OpenSSL","version":{"version_data":[{"version_affected":"<","version_name":"3.0.0","version_value":"3.0.8"},{"version_affected":"<","version_name":"1.1.1","version_value":"1.1.1t"},{"version_affected":"<","version_name":"1.0.2","version_value":"1.0.2zg"}]}}]}}]}},"references":{"reference_data":[{"url":"https://www.openssl.org/news/secadv/20230207.txt","refsource":"MISC","name":"https://www.openssl.org/news/secadv/20230207.txt"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1b740a5aaba2a987e75bfbafd","refsource":"MISC","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8818064ce3c3c0f1b740a5aaba2a987e75bfbafd"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c654652201e16f8a0a0c46ee3f344","refsource":"MISC","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c3829dd8825c654652201e16f8a0a0c46ee3f344"},{"url":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ace4037d5da5257f763aeeb4eb","refsource":"MISC","name":"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9816136fe31d92ace4037d5da5257f763aeeb4eb"},{"url":"https://security.netapp.com/advisory/ntap-20230427-0007/","refsource":"MISC","name":"https://security.netapp.com/advisory/ntap-20230427-0007/"},{"url":"https://security.netapp.com/advisory/ntap-20230427-0009/","refsource":"MISC","name":"https://security.netapp.com/advisory/ntap-20230427-0009/"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"UNKNOWN"},"credits":[{"lang":"en","value":"Octavio Galland (Max Planck Institute for Security and Privacy)"},{"lang":"en","value":"Marcel Böhme (Max Planck Institute for Security and Privacy)"},{"lang":"en","value":"Viktor Dukhovni"},{"lang":"en","value":"Matt Caswell"}]},"nvd":{"publishedDate":"2023-02-08 20:15:00","lastModifiedDate":"2024-02-04 09:15:00","problem_types":["CWE-416"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.0.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","versionStartIncluding":"1.1.1","versionEndExcluding":"1.1.1t","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.2","versionEndExcluding":"1.0.2zg","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:stormshield:stormshield_management_center:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}