diff --git a/crates/RUSTSEC-2026-0184.json b/crates/RUSTSEC-2026-0184.json new file mode 100644 index 000000000..948809d6c --- /dev/null +++ b/crates/RUSTSEC-2026-0184.json @@ -0,0 +1,63 @@ +{ + "id": "RUSTSEC-2026-0184", + "modified": "2026-06-17T13:50:20Z", + "published": "2026-05-13T12:00:00Z", + "aliases": [], + "related": [], + "summary": "Potential undefined behavior with Signature from a buffer-created BlameHunk", + "details": "When a `Blame` is created via `Blame::blame_buffer()`, and a `BlameHunk` is retrieved, the pointers to the original author, original committer, final author, and final committer may be null if unavailable. The corresponding `BlameHunk` methods then create `Signature`s based on null pointers; attempting to access the data of the `Signature`s leads to dereferencing null pointers.", + "severity": [], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "git2", + "purl": "pkg:cargo/git2" + }, + "ecosystem_specific": { + "affects": { + "arch": [], + "os": [], + "functions": [] + }, + "affected_functions": null + }, + "database_specific": { + "categories": [], + "cvss": null, + "informational": "unsound" + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0.0.0-0" + }, + { + "fixed": "0.21.0" + } + ] + } + ], + "versions": [] + } + ], + "references": [ + { + "type": "PACKAGE", + "url": "https://crates.io/crates/git2" + }, + { + "type": "ADVISORY", + "url": "https://rustsec.org/advisories/RUSTSEC-2026-0184.html" + }, + { + "type": "WEB", + "url": "https://github.com/rust-lang/git2-rs/pull/1254" + } + ], + "database_specific": { + "license": "CC0-1.0" + } +} \ No newline at end of file