Advisory

GHSA-4fcv-w3qc-ppgg

Also known as: RUSTSEC-2025-0022

Summary

rust-openssl 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

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-04 20:31 UTC
Modified
2026-09-10 03:50 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences