Ubuntu CVE Tracker
UBUNTU-CVE-2025-59343
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:22.04:LTS | node-tar-fs | All versions before 2.1.1-6ubuntu0.22.04.1~esm1 (fixed in 2.1.1-6ubuntu0.22.04.1~esm1) |
| Ubuntu:Pro:24.04:LTS | node-tar-fs | All versions before 2.1.1-6ubuntu0.24.04.1~esm1 (fixed in 2.1.1-6ubuntu0.24.04.1~esm1) |
| Ubuntu:25.10 | node-tar-fs | All versions before 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 (fixed in 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1) |
References
- https://ubuntu.com/security/CVE-2025-59343
- https://www.cve.org/CVERecord?id=CVE-2025-59343
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
- https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
- https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
- https://ubuntu.com/security/notices/USN-8367-1