Name | CVE-2021-38511 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 992173 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rust-tar (PTS) | bullseye | 0.4.26-1 | vulnerable |
| bookworm | 0.4.38-1 | fixed |
| sid, trixie | 0.4.43-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rust-tar | source | (unstable) | 0.4.37-1 | | | 992173 |
Notes
[bullseye] - rust-tar <no-dsa> (Minor issue)
[buster] - rust-tar <no-dsa> (Minor issue)
https://rustsec.org/advisories/RUSTSEC-2021-0080.html
https://github.com/alexcrichton/tar-rs/issues/238