Lucene search
K

46 matches found

RustSec
RustSec
added 2026/03/19 12:0 p.m.6 views

tar-rs incorrectly ignores PAX size headers if header size is nonzero

Versions 0.4.44 and below of tar-rs have conditional logic that skips the PAX size header in cases where the base header size is nonzero. As part of CVE-2025-62518astral-cve, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the...

8.1CVSS7.4AI score0.00017EPSS
Exploits1Affected Software1
OSV
OSV
added 2026/03/19 12:0 p.m.3 views

RUSTSEC-2026-0067 `unpack_in` can chmod arbitrary directories by following symlinks

In versions 0.4.44 and below of tar-rs, when unpacking a tar archive, the tar crate's unpackdir function uses fs::metadatafs-metadata to check whether a path that already exists is a directory. Because fs::metadata follows symbolic links, a crafted tarball containing a symlink entry followed by a...

5.1CVSS5.8AI score0.00019EPSS
Exploits1References2
Positive Technologies
Positive Technologies
added 2026/03/19 12:0 a.m.0 views

PT-2026-26573

Name of the Vulnerable Software and Affected Versions tar-rs versions 0.4.44 and below Description The tar-rs crate’s unpack dir function uses fs::metadata to verify if a path already exists as a directory during tar archive unpacking. Because fs::metadata follows symbolic links, a specially...

6.5CVSS5.9AI score0.00019EPSS
Exploits1References28
Github Security Blog
Github Security Blog
added 2021/08/25 8:43 p.m.16 views

Arbitrary file overwrite in tar-rs

When unpacking a tarball with the unpackin-family of functions it's intended that only files within the specified directory are able to be written. Tarballs with hard links or symlinks, however, can be used to overwrite any file on the filesystem. Tarballs can contain multiple entries for the sam...

7.5CVSS7.3AI score0.00299EPSS
Exploits0References5Affected Software1
CNNVD
CNNVD
added 2021/08/10 12:0 a.m.2 views

Alexcrichton Tar-rs 路径遍历漏洞

Alexcrichton Tar-rs is a tar archive read/write library for Rust. A path traversal vulnerability exists in Alexcrichton Tar-rs, which stems from a logical error in the implementation of the product's decompression feature, and could allow an attacker to create files in other directories by...

7.5CVSS7.2AI score0.0034EPSS
Exploits1References2
OSV
OSV
added 2021/07/19 12:0 p.m.18 views

RUSTSEC-2021-0080 Links in archive can create arbitrary directories

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. rust use std::io, io::Result; use tar::Archive,...

7.5CVSS7.3AI score0.0034EPSS
Exploits1References3
Rows per page
Query Builder