GitHub Advisory Database
GHSA-62xg-239j-vxg7
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pyftpdlib
Details
Race condition in the FTPHandler class in ftpserver.py in pyftpdlib before 0.5.2 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the getpeername function having an ENOTCONN error, a different vulnerability than CVE-2010-3494.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pyftpdlib | All versions before 0.5.2 (fixed in 0.5.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2009-5011
- https://github.com/giampaolo/pyftpdlib
- https://github.com/pypa/advisory-database/tree/main/vulns/pyftpdlib/PYSEC-2010-8.yaml
- http://code.google.com/p/pyftpdlib/issues/detail?id=100
- http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY
- http://code.google.com/p/pyftpdlib/source/detail?r=543
- http://code.google.com/p/pyftpdlib/source/diff?spec=svn543&r=543&format=side&path=/trunk/pyftpdlib/ftpserver.py