CVE-2026-8328
FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address
EPSS 0.48%
描述
The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host addresses with the actual peer address (getpeername()[0]), ftpcp() still calls parse227() directly and passes the raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.
如何修補 CVE-2026-8328
要修補 CVE-2026-8328,請將受影響套件升級到下列已修補版本。
- Debian/pypy3—未列出修補版本
- —未列出修補版本
- —未列出修補版本
- —升級至 3.13.5-2+deb13u3 或更新版本
- —升級至 3.14.6-1 或更新版本
- —未列出修補版本
CVE-2026-8328 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(6)
- from 0
- from 0
- from 0
- from 0, < 3.13.5-2+deb13u3
- from 0, < 3.14.6-1
- from 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/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 |