# GHSA-9qwg-crg9-m2vc: `openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-03-24T12:00:00.000Z
- Modified: 2023-11-08T04:18:04.563Z
- Also known as: RUSTSEC-2023-0023

## 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.

Thanks to David Benjamin (Google) for reporting this issue.

(As written by GitHub Advisory Database.)

## Affected

- openssl (crates.io): from 0.9.7 before 0.10.48; from 0.0.0-0 before 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-0023.html> (advisory, web)
- <https://crates.io/crates/openssl> (package)

## Sources

- GitHub Advisory Database: [GHSA-9qwg-crg9-m2vc](https://github.com/advisories/GHSA-9qwg-crg9-m2vc), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2023-0023](https://rustsec.org/advisories/RUSTSEC-2023-0023.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-9qwg-crg9-m2vc · Whole record: https://cve.day/GHSA-9qwg-crg9-m2vc.json · Rebuilt by cve.day 2026-11-25T22:56:43.143Z
