Rust advisories / git-delta
Vulnerability HighRUSTSEC-2021-0105 · git-delta
RUSTSEC-2021-0105: Relative Path Traversal in git-delta
Short answerA security vulnerability in the git-delta crate: Relative Path Traversal in git-delta. High severity (CVSS 7.8). Fixed in 0.8.3: update to a fixed version.
| Crate | git-delta |
|---|---|
| Type | Vulnerability (file-disclosure) |
| Affected versions | Before 0.8.3. |
| Fixed in | 0.8.3 |
| Severity | High, CVSS 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2021-07-12 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2021-36376, GHSA-5xg3-j2j6-rcx4 |
What to do
- See which version you have:
cargo tree -i git-delta(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p git-delta. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for examplegit-delta = "0.8.3") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
git-delta before 0.8.3 on Windows resolves an executable's pathname as a relative path from the current directory.
References
- Package: crates.io/crates/git-delta
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0105.html
- Web: nvd.nist.gov/vuln/detail/CVE-2021-36376
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?