kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-8328 FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address

설명

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.

영향 받는 제품 제품 1개

  • Python Software Foundation

    CPython

    해결 버전 있음

    영향 받는 버전

    • 3.10.21 미만
    • 3.11.0 이상 3.11.16 미만
    • 3.12.0 이상 3.12.14 미만
    • 3.13.0 이상 3.13.14 미만
    • 3.14.0 이상 3.14.6 미만
    • 3.15.0a1 이상 3.15.0b2 미만

    해결 버전

    • 3.10.21 이상
    • 3.11.16 이상
    • 3.12.14 이상
    • 3.13.14 이상
    • 3.14.6 이상
    • 3.15.0b2 이상

참고 자료 10건

‹ 목록

점검 지원 범위 문의

도입 문의