CVE-2025-59343
EPSS 0.03%tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
發布日:2025/9/24修改日:2026/2/4
描述
### Impact v3.1.0, v2.1.3, v1.16.5 and below ### Patches Has been patched in 3.1.1, 2.1.4, and 1.16.6 ### Workarounds You can use the ignore option to ignore non files/directories. ```js ignore (_, header) { // pass files & directories, ignore e.g. symlinks return header.type !== 'file' && header.type !== 'directory' } ``` ### Credit Reported by: Mapta / BugBunny_ai
受影響套件(4)
- Debian/node-tar-fsfrom 0, < 2.1.3-0+deb11u2
- Debian/node-tar-fsfrom 0, < 2.1.3-0+deb11u2
- Debian/node-tar-fsfrom 0, < 2.1.3-0+deb12u2
- npm/tar-fs>= 3.0.0, < 3.1.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-59343
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-59343
- PATCHhttps://github.com/mafintosh/tar-fs
- WEBhttps://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
- WEBhttps://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
- WEBhttps://lists.debian.org/debian-lts-announce/2025/09/msg00028.html