CVE-2021-38511

NameCVE-2021-38511
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs992173

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-tar (PTS)buster0.4.20-1vulnerable
bullseye0.4.26-1vulnerable
bookworm0.4.38-1fixed
sid, trixie0.4.40-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-tarsource(unstable)0.4.37-1992173

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

Search for package or bug name: Reporting problems