{"id":"GHSA-q445-7m23-qrmw","revision":"114854ef037749de861f44c62afe6301","records":[{"revision":"114854ef037749de861f44c62afe6301","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-q445-7m23-qrmw","aliases":["RUSTSEC-2024-0357"],"title":"openssl's `MemBio::get_buf` has undefined behavior with empty buffers","description":"Previously, `MemBio::get_buf` called `slice::from_raw_parts` with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.\n","state":0,"publishedAt":"2024-07-22T17:34:53+00:00","modifiedAt":"2026-09-10T03:50:16.8266043+00:00","affected":[{"ecosystem":"crates.io","name":"openssl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.10.66"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sfackler/rust-openssl/pull/2266","https://github.com/sfackler/rust-openssl/commit/aef36e0f3950653148d6644309ee41ccf16e02bb","https://github.com/sfackler/rust-openssl","https://github.com/sfackler/rust-openssl/releases/tag/openssl-v0.10.66","https://rustsec.org/advisories/RUSTSEC-2024-0357.html"],"sourceUrl":"https://github.com/advisories/GHSA-q445-7m23-qrmw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q445-7m23-qrmw","identifiers":["GHSA-q445-7m23-qrmw","RUSTSEC-2024-0357"]},"retained":false,"historicalAffected":[]}],"coverage":[]}