| Name | CVE-2025-59343 |
| Description | tar-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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4313-1, DSA-6013-1 |
| Debian Bugs | 1116338 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-tar-fs (PTS) | bullseye | 2.1.1-2 | vulnerable |
| bullseye (security) | 2.1.3-0+deb11u2 | fixed | |
| bookworm | 2.1.3-0+deb12u1 | vulnerable | |
| bookworm (security) | 2.1.3-0+deb12u2 | fixed | |
| trixie | 3.0.9+~cs2.0.4-1 | vulnerable | |
| trixie (security) | 3.0.9+~cs2.0.4-1+deb13u1 | fixed | |
| forky, sid | 3.0.9+~cs2.0.4-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-tar-fs | source | bullseye | 2.1.3-0+deb11u2 | DLA-4313-1 | ||
| node-tar-fs | source | bookworm | 2.1.3-0+deb12u2 | DSA-6013-1 | ||
| node-tar-fs | source | trixie | 3.0.9+~cs2.0.4-1+deb13u1 | DSA-6013-1 | ||
| node-tar-fs | source | (unstable) | 3.0.9+~cs2.0.4-2 | 1116338 |
https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09 (v3.1.1)