Tóm tắt nhanh
- CVE-2025-59343 là lỗ hổng mức CAO (CVSS 8.7) ảnh hưởng tar-fs.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.58%, cao hơn 48.0% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 2.1.4, 3.1.1, 1.16.6 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| 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
|
Mô tả
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
Mô tả của 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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí