RUSTSEC-2023-0024
HIGH`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference
These functions would crash when the context argument was None with certain extension types.
Thanks to David Benjamin (Google) for reporting this issue.
- Published
- 24 Mar 2023
- Last modified
- 8 Nov 2023
- Weakness
- CWE-476
- Also known as
- GHSA-6hcf-g6gr-hhcr
- Sources
- OSV GHSA-6hcf-g6gr-hhcrJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | openssl | >= 0.9.7, < 0.10.48 | 0.10.48 |
| OSV | crates.io | openssl | >= 0.0.0-0, < 0.10.48 | 0.10.48 |
References
- https://github.com/sfackler/rust-openssl/pull/1854 · WEB
- https://github.com/sfackler/rust-openssl · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0024.html · WEB, ADVISORY
- https://crates.io/crates/openssl · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Mar 2023)