DEBIAN-CVE-2021-4189

Source
https://security-tracker.debian.org/tracker/CVE-2021-4189
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4189.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-4189
Upstream
Published
2022-08-24T16:15:09Z
Modified
2025-09-25T23:25:28.282151Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The issue is how the FTP client trusts the host from the PASV response by default. This flaw allows an attacker to set up a malicious FTP server that can trick FTP clients into connecting back to a given IP address and port. This vulnerability could lead to FTP client scanning ports, which otherwise would not have been possible.

References

Affected packages

Debian:11

pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.5+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

python2.7

Package

Name
python2.7
Purl
pkg:deb/debian/python2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.18-8
2.7.18-8+deb11u1
2.7.18-9
2.7.18-10
2.7.18-11
2.7.18-12
2.7.18-13
2.7.18-13.1~exp1
2.7.18-13.1
2.7.18-13.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.2-1+deb11u2

Affected versions

3.*

3.9.2-1
3.9.2-1+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12

pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.5+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13

pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.5+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14

pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.5+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}