CVE-2009-5010:
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pyftpdlib
4.3
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.76442%
CWE
Published
5/2/2022
Updated
10/14/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pyftpdlib | pip | <= 0.5.0 | 0.5.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly mentions a race condition in FTPHandler
's accept()
handling. Multiple sources (CVE-2009-5010, GHSA-mpg6-rgp4-35rr, and linked Python bug reports) confirm that improper error checking when accept()
returns None was the root cause. The FTPHandler.handle_accept
method in versions <=0.5.0 lacked proper synchronization and error handling for this edge case, making it the clear vulnerable function. The fix in pyftpdlib
0.5.1 likely added checks for None returns from accept()
, corroborating this assessment.