CVE-2026-8328
EPSS 0.05%FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address
發布日:2026/5/13修改日:2026/5/22
描述
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.
受影響套件(9)
- Bitnami/libpythonfrom 0, < 3.14.5
- Bitnami/pythonfrom 0, < 3.14.5
- Bitnami/python-minfrom 0, < 3.14.5
- Debian/pypy3from 0
- Debian/python2.7from 0
- Debian/python3.11from 0
- Debian/python3.13from 0
- Debian/python3.14from 0
- Debian/python3.9from 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 |
參考連結(5)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-8328
- WEBhttps://github.com/python/cpython/issues/87451
- WEBhttps://github.com/python/cpython/pull/149648
- WEBhttps://mail.python.org/archives/list/[email protected]/thread/ITF2BAPBQEPYK3LDMPRSY435JGNHYNDP/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2026-8328