CVE-2025-48387
tar-fs can extract outside the specified dir with a specific tarball
EPSS 0.47%
描述
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.
如何修補 CVE-2025-48387
要修補 CVE-2025-48387,請將受影響套件升級到下列已修補版本。
- Debian/node-tar-fs—升級至 2.1.3-0+deb11u1 或更新版本
- npm/tar-fs—升級至 1.16.5 或更新版本
CVE-2025-48387 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 2.1.3-0+deb11u1
- from 0, < 1.16.5
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 |