{"answers":{"affected":"5 open source packages ship an affected version, including openssl-src. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-0215 in the wild and no public exploit code.","fix":"Upgrade openssl-src to a fixed version for your release line: 111.25.0 or 300.0.12.","what":"CVE-2023-0215 is a high-severity use after free vulnerability in Openssl Openssl, published on 8 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-0215 and fix it if it is affected.\n\nWhat it is: CVE-2023-0215 is a high-severity use after free vulnerability in Openssl Openssl, published on 8 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-0215 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- openssl-src (crates.io): affected all versions; fixed in 111.25.0\n- openssl-src (crates.io): affected all versions; fixed in 111.25.0\n- openssl-src (crates.io): affected from 0.0.0-0; fixed in 111.25.0, 300.0.12\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.12\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.12\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-0215/ (Markdown: https://insights.sbomify.com/CVE-2023-0215/index.md)","id":"CVE-2023-0215","markdown":"https://insights.sbomify.com/CVE-2023-0215/index.md","name":"CVE-2023-0215","record":{"aliases":["ALPINE-CVE-2023-0215","AZL-13301","AZL-13352","AZL-37641","AZL-37898","CLEANSTART-2026-JM87342","DEBIAN-CVE-2023-0215","GHSA-r7jw-wp68-3xch","JLSEC-2026-233","RUSTSEC-2023-0009","UBUNTU-CVE-2023-0215"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL cryptographic library","requires_auth":"none","summary":"A use-after-free in OpenSSL's BIO_new_NDEF function can cause a crash when processing invalid CMS data, impacting applications using SMIME or PKCS7 streaming.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[{"product":"openssl","vendor":"openssl"},{"product":"stormshield_management_center","vendor":"stormshield"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"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\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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use-after-free following BIO_new_NDEF","id":"CVE-2023-0215","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":"openssl:openssl","products":["openssl:openssl"],"type":"use_after_free","year":"2023"},"n_packages":5,"n_references":8,"next":{"headline":"Invalid pointer dereference in d2i_PKCS7 functions","id":"CVE-2023-0216"},"packages":[{"ecosystem":"crates.io","fixed":["111.25.0"],"introduced":["0"],"last_affected":[],"package":"openssl-src","purl":null,"source":"GHSA-r7jw-wp68-3xch"},{"ecosystem":"crates.io","fixed":["111.25.0"],"introduced":["0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"GHSA-r7jw-wp68-3xch"},{"ecosystem":"crates.io","fixed":["111.25.0","300.0.12"],"introduced":["0.0.0-0","300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"RUSTSEC-2023-0009"},{"ecosystem":"crates.io","fixed":["300.0.12"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":null,"source":"GHSA-r7jw-wp68-3xch"},{"ecosystem":"crates.io","fixed":["300.0.12"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"GHSA-r7jw-wp68-3xch"}],"prev":{"headline":"XSS in Skyhigh Security SWG","id":"CVE-2023-0214"},"products":["OpenSSL"],"published":"2023-02-08","related":[{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2009-3245","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2006-3738","kev_date_added":null,"published":"2006-09-28"},{"cvss_score":9.8,"headline":"Untrusted Sender DN Used as Format String in CMP Response Validation","id":"CVE-2026-63073","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-6309","kev_date_added":null,"published":"2016-09-26"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-0799","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-2842","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2003-0545","kev_date_added":null,"published":"2003-10-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["OpenSSL"]},"summary":"A use-after-free in OpenSSL's BIO_new_NDEF function can cause a crash when processing invalid CMS data, impacting applications using SMIME or PKCS7 streaming.","url":"https://insights.sbomify.com/CVE-2023-0215/"}