tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 7.1epss 0.3%
exploitation probability
0.3%top 72% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products
composefs · tar-rspublic PoCs found — 1
cve_referencegist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.