Advisory

RUSTSEC-2025-0022

Also known as: GHSA-4fcv-w3qc-ppgg

Summary

Use-After-Free in Md::fetch and Cipher::fetch

Details

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Severity

Not rated by the source.

Dates

Published
2025-04-04 12:00 UTC
Modified
2025-10-28 06:29 UTC

Affected packages and fixes

openssl

crates.io · All systems

Affected

  • introduced 0.10.39, fixed 0.10.72 (semver)

Fixed versions

0.10.72

Fix

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

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