{"id":"GHSA-9qwg-crg9-m2vc","aliases":["RUSTSEC-2023-0023"],"status":"published","title":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","description":"`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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:18:04Z","fixes":[{"ecosystem":"crates.io","package":"openssl","fixed_in":["0.10.48"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.7"},{"fixed":"0.10.48"}]}]},{"source":"osv","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.7"},{"fixed":"0.10.48"}]}]},{"source":"osv","ecosystem":"crates.io","package":"openssl","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.48"}]}]}],"references":[{"url":"https://github.com/sfackler/rust-openssl/pull/1854","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0023.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-9qwg-crg9-m2vc"},{"url":"https://github.com/sfackler/rust-openssl","tags":["package"]},{"url":"https://crates.io/crates/openssl","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-9qwg-crg9-m2vc","title":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","description":"`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.\n","status":"published","published":"2023-03-24T22:01:29Z","modified":"2023-03-24T22:01:31Z","updated_at":"2026-11-02T14:36:48.905887Z"}],"osv":[{"id":"GHSA-9qwg-crg9-m2vc","title":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","description":"`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.\n","status":"published","published":"2023-03-24T22:01:29Z","modified":"2023-11-08T04:18:04.563523Z","updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"RUSTSEC-2023-0023","title":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","description":"`SubjectAlternativeName` and `ExtendedKeyUsage` arguments were parsed using the OpenSSL\nfunction `X509V3_EXT_nconf`. This function parses all input using an OpenSSL mini-language\nwhich can perform arbitrary file reads.\n\nThanks to David Benjamin (Google) for reporting this issue.","status":"published","published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:18:04.563523Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
