Skip to content
OpenAdvisories
High GHSA-9qwg-crg9-m2vc RUSTSEC-2023-0023

`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read

Published Mar 24, 2023 · Updated Nov 8, 2023 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl >= 0.9.7, < 0.10.48 0.10.48 GHSA-9qwg-crg9-m2vc
crates.io openssl >= 0.0.0-0, < 0.10.48 0.10.48 RUSTSEC-2023-0023

References