`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
Description
Published to the GitHub Advisory Database
Mar 24, 2023
Reviewed
Mar 24, 2023
Last updated
Mar 24, 2023
SubjectAlternativeName
andExtendedKeyUsage
arguments were parsed using the OpenSSL functionX509V3_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