Advisory

GHSA-9qwg-crg9-m2vc

Also known as: RUSTSEC-2023-0023

Summary

openssl SubjectAlternativeName and ExtendedKeyUsage::other allow arbitrary file read

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-24 22:01 UTC
Modified
2023-11-08 04:18 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.9.7, fixed 0.10.48 (semver)

Fixed versions

0.10.48

Fix

  • Fixed version 0.10.48
    cargo update -p openssl --precise 0.10.48

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences