GitHub Advisoryadvisory · crates.io

GHSA-4fcv-w3qc-ppgg rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

MEDIUM Published 2025-04-04 Modified 2025-04-04 Official page ↗
Ecosystem
crates.io
Packages
openssl
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Weaknesses
CWE-416
Reviewed
2025-04-04

Affected packages

• crates.io openssl: >= 0.10.39, < 0.10.72 → fixed in 0.10.72

Description

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.

Related

Weakness · CWE (1)

References