CVE-2007-6737: Improper Authentication in pyftpdlib

pyftpdlib Updated 02 Oct 2025

Summary

01/05/2022
Yes i
Moderate
7.3

CVE-2007-6737: Improper Authentication in pyftpdlib. Affects pyftpdlib versions < 0.2.0. Fixed in 0.2.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

pyftpdlib is a Python FTP server library that provides a high-level interface for implementing FTP servers. It allows developers to create custom FTP servers with ease. However, versions before 0.2.0 are vulnerable to an improper authentication issue. This vulnerability can be exploited by remote attackers to gain unauthorized access through a brute-force attack.

Vulnerability Detail

The vulnerability in pyftpdlib arises from the FTPServer.py file. In affected versions, the attempted_logins count is not incremented when an invalid username is provided in a USER command. This oversight makes it easier for attackers to launch brute-force attacks and gain unauthorized access to the FTP server. The impact of this vulnerability can be significant, as it compromises the confidentiality and integrity of the data stored on the server.

How To Fix

Minimum fixed version

0.2.0

This is the first release that contains the fix.

pip install --upgrade "pyftpdlib==0.2.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, users can implement additional security measures such as rate limiting or account lockouts to mitigate the risk of brute-force attacks. It is important to note that these measures are not a substitute for upgrading to the fixed version of pyftpdlib.

Conclusion

The vulnerability in pyftpdlib allows remote attackers to gain unauthorized access to FTP servers. To mitigate this risk, it is crucial to upgrade to pyftpdlib version 0.2.0 or later. Implementing additional security measures can provide further protection. For more information and support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pyftpdlib →

Share this vulnerability

FAQ

pyftpdlib is a Python library that allows developers to create custom FTP servers.

This vulnerability allows remote attackers to gain unauthorized access to the FTP server through brute-force attacks.

To fix this vulnerability, upgrade to pyftpdlib version 0.2.0 or later.

While there are no specific workarounds, implementing additional security measures like rate limiting or account lockouts can help mitigate the risk.

Yes, there are other FTP server libraries available in Python, such as ftplib and pyftpdlib.

Related vulnerabilities

Recent vulnerabilities recorded for pyftpdlib.

How To Fix

Minimum fixed version

0.2.0

This is the first release that contains the fix.

pip install --upgrade "pyftpdlib==0.2.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback