{"id":"RUSTSEC-2023-0023","summary":"`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read","details":"`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.","aliases":["GHSA-9qwg-crg9-m2vc"],"modified":"2023-11-08T04:18:04.563523Z","published":"2023-03-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/openssl"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2023-0023.html"},{"type":"WEB","url":"https://github.com/sfackler/rust-openssl/pull/1854"}],"affected":[{"package":{"name":"openssl","ecosystem":"crates.io","purl":"pkg:cargo/openssl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.48"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":["openssl::x509::extension::ExtendedKeyUsage::other","openssl::x509::extension::SubjectAlternativeName::new"],"arch":[],"os":[]}},"database_specific":{"cvss":null,"informational":null,"categories":["file-disclosure"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0023.json"}}],"schema_version":"1.7.3"}