GHSA-4fcv-w3qc-ppgg

Suggest an improvement
Source
https://github.com/advisories/GHSA-4fcv-w3qc-ppgg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-4fcv-w3qc-ppgg/GHSA-4fcv-w3qc-ppgg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4fcv-w3qc-ppgg
Related
Published
2025-04-04T20:31:08Z
Modified
2025-04-04T20:31:08Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-416"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-04T20:31:08Z"
}
References

Affected packages

crates.io / openssl

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.10.39
Fixed
0.10.72