CVE-2007-6740: pyftpdlib vulnerable to allocation of resources without limits
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65606%
CWE
Published
5/1/2022
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pyftpdlib | pip | < 0.2.0 | 0.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The CVE description explicitly names ftp_STOU
in FTPServer.py
as the vulnerable function. The vulnerability stems from an unlimited retry loop for filename
generation, confirmed by: 1) The GitHub advisory's description of infinite attempts 2) The original issue #25 discussing the lack of max attempts 3) Historical references to r=37
commit modifying STOU
logic 4) CWE-770
classification matching unbounded resource allocation patterns. The function's role in handling STOU
commands and generating unique filenames
makes it the clear entry point for this DoS vector.