{"id":"GHSA-q445-7m23-qrmw","aliases":["RUSTSEC-2024-0357"],"url":"https://o3.security/vulnerability/GHSA-q445-7m23-qrmw","summary":"openssl's `MemBio::get_buf` has undefined behavior with empty buffers","details":"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","published":"2024-07-22T17:34:53Z","modified":"2026-09-10T03:50:16.826604285Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"openssl","fixedVersion":"0.10.66"}],"fix":{"url":"https://github.com/sfackler/rust-openssl/pull/2266","label":"sfackler/rust-openssl#2266"},"references":[{"type":"WEB","url":"https://github.com/sfackler/rust-openssl/pull/2266"},{"type":"WEB","url":"https://github.com/sfackler/rust-openssl/commit/aef36e0f3950653148d6644309ee41ccf16e02bb"},{"type":"PACKAGE","url":"https://github.com/sfackler/rust-openssl"},{"type":"WEB","url":"https://github.com/sfackler/rust-openssl/releases/tag/openssl-v0.10.66"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0357.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T03:50:16.826604285Z"}}