{"id":"DHI-meno-6sjv-hhk2-rdlu","summary":"If the Buf struct is dereferenced immediately after calling new() or default() on the Buf struct, a null pointer is…","details":"If the Buf struct is dereferenced immediately after calling new() or default() on the Buf struct, a null pointer is passed to the unsafe function slice::from_raw_parts. According to the safety section documentation of the function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing a null pointer will lead to undefined behavior.","modified":"2026-11-16T02:35:49.320254380Z","published":"2026-11-11T23:29:33Z","upstream":["GHSA-j39j-6gw9-jw6h"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-meno-6sjv-hhk2-rdlu"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j39j-6gw9-jw6h"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0008.html"},{"type":"FIX","url":"https://github.com/rust-lang/git2-rs/pull/1213"},{"type":"FIX","url":"https://github.com/rust-lang/git2-rs/commit/9e160f15bd056f82143109bb330573381e5de719"},{"type":"WEB","url":"https://github.com/rust-lang/git2-rs/issues/1211"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0008"}],"affected":[{"package":{"name":"rust","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/rust"},"versions":["1.91.1-r0","1.91.1-r2","1.91.1-r3","1.91.1-r4","1.93.1-r0","1.93.1-r1","1.94.0-r0","1.94.0-r1","1.94.1-r0","1.94.1-r1","1.95.0-r0","1.96.0-r0","1.96.1-r0","1.97.0-r0","1.97.0-r1","1.98.1-r0","1.99.0-r2","1.99.1-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-meno-6sjv-hhk2-rdlu.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"}]}