gh-87451: Apply CVE-2021-4189 PASV fix to ftplib.ftpcp() by gpshead · Pull Request #149648 · python/cpython · GitHub

github.com

Tin mới

gpshead:gh-87451-ftplib-ftpcp

read-the-docs-community

miss-islington-app

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

ftplib should not use the host from the PASV response #87451

PASV fix to ftplib.ftpcp()

awaiting core review

needs backport to 3.10

needs backport to 3.11

needs backport to 3.12

needs backport to 3.13

needs backport to 3.14

needs backport to 3.15

Merge branch 'main' into

View reviewed changes

Update the thank you attribution.

: Use unittest.mock instead of hand-written fakes in ft…

bedevere-app Bot commented May 13, 2026
bedevere-app Bot commented May 13, 2026

bedevere-app Bot commented May 13, 2026

GH-149792 is a backport of this pull request to the 3.15 branch.

PASV fix to ftplib.ftpcp() (

PASV fix to ftplib.ftpcp() (

PASV fix to ftplib.ftpcp() (

PASV fix to ftplib.ftpcp() (

PASV fix to ftplib.ftpcp() (

PASV fix to ftplib.ftpcp() (