Advisory

RUSTSEC-2023-0072

Also known as: GHSA-xphf-cx8h-7q9g

Summary

openssl X509StoreRef::objects is unsound

Details

This function returned a shared reference into an OpenSSL datastructure but did not account for interior mutability. OpenSSL may modify the data behind this reference, meaning accesses can race and the reference is unsound.

Use of this function should be replaced with X509StoreRef::all_certificates.

Severity

Not rated by the source.

Dates

Published
2023-11-23 12:00 UTC
Modified
2024-02-10 16:26 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.10.60 (semver)

Fixed versions

0.10.60

Fix

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

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