GHSA-62jx-8vmh-4mcw

ghsaUSosv

Links in archive can create arbitrary directories

view advisory published 2021-08-25Licence: CC-BY-4.0

When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2021-38511UShigh7.5—
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.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan