Skip to content

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

High severity GitHub Reviewed Published Mar 24, 2023 to the GitHub Advisory Database • Updated Mar 24, 2023

Package

cargo openssl (Rust)

Affected versions

>= 0.9.7, < 0.10.48

Patched versions

0.10.48

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.

References

Published to the GitHub Advisory Database Mar 24, 2023
Reviewed Mar 24, 2023
Last updated Mar 24, 2023

Severity

High

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-9qwg-crg9-m2vc

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.