CVE-2025-58438
python-internetarchive - security update
描述
internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive library. The file.download() method does not properly sanitize user-supplied filenames or validate the final download path. A maliciously crafted filename could contain path traversal sequences (e.g., ../../../../windows/system32/file.txt) or illegal characters that, when processed, would cause the file to be written outside of the intended target directory. An attacker could potentially overwrite critical system files or application configuration files, leading to a denial of service, privilege escalation, or remote code execution, depending on the context in which the library is used. The vulnerability is particularly critical for users on Windows systems, but all operating systems are affected. This issue is fixed in version 5.5.1.
如何修補 CVE-2025-58438
要修補 CVE-2025-58438,請將受影響套件升級到下列已修補版本。
- —升級至 1.9.9-1+deb11u1 或更新版本
- —升級至 1.9.9-1+deb11u1 或更新版本
- —升級至 3.3.0-2~deb12u1 或更新版本
- —升級至 5.5.1 或更新版本
CVE-2025-58438 正在被利用嗎?
低 — EPSS 為 3.8%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 1.9.9-1+deb11u1
- from 0, < 1.9.9-1+deb11u1
- from 0, < 3.3.0-2~deb12u1
- from 0, < 5.5.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |