Advisory

RUSTSEC-2023-0023

Also known as: GHSA-9qwg-crg9-m2vc

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

Not rated by the source.

Dates

Published
2023-03-24 12:00 UTC
Modified
2023-11-08 04:18 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.0.0-0, 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: RustSec Advisory Database · CC0-1.0

Sources & licences