要点
- CVE-2025-59343 は tar-fs に影響する深刻度「高」 (CVSS 8.7) の脆弱性です。
- 今後30日間に悪用される確率(EPSS):0.58%(全脆弱性の 48.0% より高い)。
- 対処:2.1.4, 3.1.1, 1.16.6 以降に更新してください。
| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|
| tar-fs npm | ≥ 2.0.0, < 2.1.4≥ 3.0.0, < 3.1.1< 1.16.6
| 2.1.43.1.11.16.6
|
概要
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.
ignore (_, header) {
// pass files & directories, ignore e.g. symlinks
return header.type !== 'file' && header.type !== 'directory'
}
Credit
Reported by: Mapta / BugBunny_ai
NVD の説明
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.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン