{"id":"GHSA-6hcf-g6gr-hhcr","aliases":["RUSTSEC-2023-0024"],"status":"published","title":"`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference","description":"These functions would crash when the context argument was None with certain extension types.\n\nThanks to David Benjamin (Google) for reporting this issue.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:16:17Z","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-0024.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-6hcf-g6gr-hhcr"},{"url":"https://github.com/sfackler/rust-openssl","tags":["package"]},{"url":"https://crates.io/crates/openssl","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-6hcf-g6gr-hhcr","title":"`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference","description":"These functions would crash when the context argument was None with certain extension types.\n\nThanks to David Benjamin (Google) for reporting this issue.\n","status":"published","published":"2023-03-24T22:01:23Z","modified":"2023-03-24T22:01:24Z","cwes":["CWE-476"],"updated_at":"2026-11-02T14:36:48.905887Z"}],"osv":[{"id":"GHSA-6hcf-g6gr-hhcr","title":"`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference","description":"These functions would crash when the context argument was None with certain extension types.\n\nThanks to David Benjamin (Google) for reporting this issue.\n","status":"published","published":"2023-03-24T22:01:23Z","modified":"2023-11-08T04:16:17.438606Z","cwes":["CWE-476"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"RUSTSEC-2023-0024","title":"`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference","description":"These functions would crash when the context argument was None with certain extension types.\n\nThanks to David Benjamin (Google) for reporting this issue.","status":"published","published":"2023-03-24T12:00:00Z","modified":"2023-11-08T04:16:17.438606Z","updated_at":"2026-11-02T15:53:39.971022Z"}]}}
