DHI-ro2v-6nes-hpvu-ofmk
The ftpcp() function in Lib/ftplib.py was not updated when
UnscoredFix available
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-11-28
- Product
- Docker Hardened Images:Alpine:3.23 python-3.10
Description
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.
Fixed in
3.10.21-0 · 3.10.21-r1 · 3.11.16-0 · 3.11.16-r1 · 3.12.13-12 · 3.12.13-r12 · 3.12.13-r4 · 3.13.14-0 · 3.13.14-r0 · 3.14.6-0 · 3.14.6-r0 · 3.14.6-r9
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | python-3.10 | >=0, <3.10.21-r1 | 3.10.21-r1 |
| Docker Hardened Images:Alpine:3.23 | python-3.11 | >=0, <3.11.16-r1 | 3.11.16-r1 |
| Docker Hardened Images:Alpine:3.23 | python-3.12 | >=0, <3.12.13-r12 | 3.12.13-r12 |
| Docker Hardened Images:Alpine:3.23 | python-3.13 | >=0, <3.13.14-r0 | 3.13.14-r0 |
| Docker Hardened Images:Alpine:3.23 | python-3.14 | >=0, <3.14.6-r9 | 3.14.6-r9 |
| Docker Hardened Images:Alpine:3.24 | python-3.10 | >=0, <3.10.21-r1 | 3.10.21-r1 |
| Docker Hardened Images:Alpine:3.24 | python-3.11 | >=0, <3.11.16-r1 | 3.11.16-r1 |
| Docker Hardened Images:Alpine:3.24 | python-3.12 | >=0, <3.12.13-r4 | 3.12.13-r4 |
| Docker Hardened Images:Alpine:3.24 | python-3.13 | >=0, <3.13.14-r0 | 3.13.14-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.14 | >=0, <3.14.6-r0 | 3.14.6-r0 |
| Docker Hardened Images:Debian:13 | python-3.10 | >=0, <3.10.21-0 | 3.10.21-0 |
| Docker Hardened Images:Debian:13 | python-3.11 | >=0, <3.11.16-0 | 3.11.16-0 |
| Docker Hardened Images:Debian:13 | python-3.12 | >=0, <3.12.13-12 | 3.12.13-12 |
| Docker Hardened Images:Debian:13 | python-3.13 | >=0, <3.13.14-0 | 3.13.14-0 |
| Docker Hardened Images:Debian:13 | python-3.14 | >=0, <3.14.6-0 | 3.14.6-0 |
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-ro2v-6nes-hpvu-ofmk advisory
- https://github.com/python/cpython/pull/149648 fix
- https://github.com/python/cpython/commit/ef12d0dc824baccf737bba1458e5eed3d1e0fceb fix
- https://github.com/python/cpython/commit/eac4fe3b2c77693790a5ef7dfab127c1fee81bf9 fix
- https://github.com/python/cpython/commit/c88704431ea3248ca769384c13856330976fac1d fix
- https://github.com/python/cpython/commit/bb3446dda6c49b32e67c11dbbbf221b40be00763 fix
- https://github.com/python/cpython/commit/7d95a1dc7382b55cba7fdd6a110336077584a4f0 fix
- https://github.com/python/cpython/commit/5dadc64673ce875ebfb24163907777dae0f6ca06 fix
- https://github.com/python/cpython/commit/2bbcf3fb7a420a05605576c0f9468d4675381b5f fix
- https://github.com/python/cpython/issues/87451 web
- https://security.alpinelinux.org/vuln/CVE-2026-8328 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1910.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9669 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-8328 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7774 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7210 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3276 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1502 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11940 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1929.html advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1930.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13462 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1931.html advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1933.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3479 advisory