Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyftpdlib
  4. ›
  5. CVE-2007-6741

CVE-2007-6741: Improper privilege management in pyftpdlib

May 1, 2022 (updated October 14, 2024)

The ftp_PORT function in FTPServer.py in pyftpdlib before 0.2.0 does not prevent TCP connections to privileged ports if the destination IP address matches the source IP address of the connection from the FTP client, which might allow remote authenticated users to conduct FTP bounce attacks via crafted FTP data, as demonstrated by an FTP bounce attack against a NAT server, a related issue to CVE-1999-0017.

References

  • github.com/advisories/GHSA-8xgx-75qw-6268
  • github.com/giampaolo/pyftpdlib
  • github.com/giampaolo/pyftpdlib/issues/11
  • github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-25.yaml
  • nvd.nist.gov/vuln/detail/CVE-2007-6741

Code Behaviors & Features

Detect and mitigate CVE-2007-6741 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.0

Fixed versions

  • 0.2.0

Solution

Upgrade to version 0.2.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

pypi/pyftpdlib/CVE-2007-6741.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.