PyPI: pyftpdlib

CVE-2007-6738

Safety vulnerability ID: SFTY-20101019-44301

Safety legacy ID: pyup.io-53972

pyftpdlib before 0.1.1 does not choose a random value for the port associated with the PASV command, which makes it easier for remote attackers to obtain potentially sensitive information about the number of in-progress data connections by reading the response to this command.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

pyftpdlib Use of Insufficiently Random Values of port selection on PASV command

Advisory

pyftpdlib before 0.1.1 does not choose a random value for the port associated with the PASV command, which makes it easier for remote attackers to obtain potentially sensitive information about the number of in-progress data connections by reading the response to this command.

Affected Package

Affecting pyftpdlib package, versions>=0,<0.1.1

Also affects

---

How to Fix

Upgradepyftpdlibto0.2.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more