Advisory

DEBIAN-CVE-2021-4189

Also known as: CVE-2021-4189

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2022-08-24 16:15 UTC
Modified
2026-11-11 09:47 UTC

Affected packages and fixes

pypy3

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7.3.5+dfsg-2 (ecosystem)

Fixed versions

7.3.5+dfsg-2

Fix

  • Fixed version 7.3.5+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pypy3

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 7.3.5+dfsg-2 (ecosystem)

Fixed versions

7.3.5+dfsg-2

Fix

  • Fixed version 7.3.5+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pypy3

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.3.5+dfsg-2 (ecosystem)

Fixed versions

7.3.5+dfsg-2

Fix

  • Fixed version 7.3.5+dfsg-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences