CVE-2025-59343

NameCVE-2025-59343
Descriptiontar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4313-1, DSA-6013-1
Debian Bugs1116338

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-tar-fs (PTS)bullseye2.1.1-2vulnerable
bullseye (security)2.1.3-0+deb11u2fixed
bookworm2.1.3-0+deb12u1vulnerable
bookworm (security)2.1.3-0+deb12u2fixed
trixie3.0.9+~cs2.0.4-1vulnerable
trixie (security)3.0.9+~cs2.0.4-1+deb13u1fixed
forky, sid3.0.9+~cs2.0.4-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tar-fssourcebullseye2.1.3-0+deb11u2DLA-4313-1
node-tar-fssourcebookworm2.1.3-0+deb12u2DSA-6013-1
node-tar-fssourcetrixie3.0.9+~cs2.0.4-1+deb13u1DSA-6013-1
node-tar-fssource(unstable)3.0.9+~cs2.0.4-21116338

Notes

https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09 (v3.1.1)

Search for package or bug name: Reporting problems