{"id":"GHSA-9qwg-crg9-m2vc","aliases":["GHSA-9qwg-crg9-m2vc","RUSTSEC-2023-0023"],"related":[],"kind":"vulnerability","state":"published","title":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","summary":"`SubjectAlternativeName` and `ExtendedKeyUsage` arguments were parsed using the OpenSSL function `X509V3_EXT_nconf`. This function parses all input using an OpenSSL mini-language which can perform arbitrary file reads.\n\nThanks to David Benjamin (Google) for reporting this issue.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`SubjectAlternativeName` and `ExtendedKeyUsage` arguments were parsed using the OpenSSL function `X509V3_EXT_nconf`. This function parses all input using an OpenSSL mini-language which can perform arbitrary file reads.\n\nThanks to David Benjamin (Google) for reporting this issue.","format":"markdown","source":"ghsa"}],"published":"2023-03-24T12:00:00.000Z","modified":"2023-11-08T04:18:04.563Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.9.7","status":"affected","fixed":"0.10.48"}],"ecosystem":"crates.io","package":"openssl","purl":"pkg:cargo/openssl","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.10.48"}],"ecosystem":"crates.io","package":"openssl","purl":"pkg:cargo/openssl","source":"rustsec"}],"references":[{"url":"https://github.com/sfackler/rust-openssl/pull/1854","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/sfackler/rust-openssl","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0023.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/openssl","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9qwg-crg9-m2vc","url":"https://github.com/advisories/GHSA-9qwg-crg9-m2vc","licence":"CC-BY-4.0","modified":"2023-11-08T04:18:04.563Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2023-0023","url":"https://rustsec.org/advisories/RUSTSEC-2023-0023.html","licence":"CC0-1.0","modified":"2023-11-08T04:18:04.563Z"}],"updatedAt":"2026-11-25T22:56:43.143Z"}