{ "schema_version": "1.4.0", "id": "GHSA-4fcv-w3qc-ppgg", "modified": "2025-04-04T20:31:08Z", "published": "2025-04-04T20:31:08Z", "aliases": [], "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.\n\nIn practice this would nearly always result in OpenSSL treating the properties as an empty string (due to `CString::drop`'s behavior).\n\nThe maintainers thank [quitbug](https://github.com/quitbug/) for reporting this vulnerability to us.", "severity": [ { "type": "CVSS_V4", "score": "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" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "openssl" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0.10.39" }, { "fixed": "0.10.72" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/sfackler/rust-openssl/pull/2390" }, { "type": "WEB", "url": "https://github.com/sfackler/rust-openssl/commit/87085bd67896b7f92e6de35d081f607a334beae4" }, { "type": "PACKAGE", "url": "https://github.com/sfackler/rust-openssl" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2025-0022.html" } ], "database_specific": { "cwe_ids": [ "CWE-416" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-04-04T20:31:08Z", "nvd_published_at": null } }