HistoryEditJSON (OSV)

RUSTSEC-2023-0023

openssl SubjectAlternativeName and ExtendedKeyUsage::other allow arbitrary file read

Reported
Issued
Package
openssl (crates.io)
Type
Vulnerability
Categories
Aliases
References
Patched
  • >=0.10.48
Affected Functions
Version
openssl::x509::extension::ExtendedKeyUsage::other
  • <0.10.48, >=0.9.7
openssl::x509::extension::SubjectAlternativeName::new
  • <0.10.48, >=0.9.7

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.

Advisory available under CC0-1.0 license.