Description
An issue was discovered in the tar crate before 0.4.36 for Rust. When symlinks are present in a TAR archive, extraction can create arbitrary directories via .. traversal.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rust-tar | 0.4.37-1 | — |
| Debian 13 | rust-tar | 0.4.37-1 | — |
| Debian 12 | rust-tar | 0.4.37-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rust-tar | No fix yet | — |
| Ubuntu 26.04 LTS | rust-tar | No fix yet | — |
| Ubuntu 25.10 | rust-tar | No fix yet | — |
| Ubuntu 24.04 LTS | rust-tar | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rust-tar | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rust-tar | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | tar | < 0.4.36 | 0.4.36 | GHSA-62jx-8vmh-4mcw |
| crates.io | tar | >= 0.0.0-0, < 0.4.36 | 0.4.36 | RUSTSEC-2021-0080 |