CVE-2009-5010 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in pyftpdlib

Medium 4.3 Published Updated

Remote attackers can cause a denial of service in pyftpdlib by rapidly opening and closing TCP connections, triggering a race condition in the FTP handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-5010?

CVE-2009-5010 is a medium-severity vulnerability in n/a, published on 19 Oct 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Race condition in the FTPHandler class in ftpserver.py in pyftpdlib before 0.5.1 allows remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the accept function having an unexpected return value of None, a different vulnerability than CVE-2010-3494.

Weakness: CWE-362

Which versions are affected by CVE-2009-5010?

3 open source packages ship an affected version, including pyftpdlib. It affects 1 product.

PackageAffectedFixed in
pyftpdlib PyPIAll versions0.5.1
pyftpdlib PyPIAll versions0.5.1
pyftpdlib PyPIAll versions0.5.1

Products include G.rodola Pyftpdlib.

How do I fix CVE-2009-5010?

Upgrade pyftpdlib to 0.5.1 or later.

Is CVE-2009-5010 being exploited?

There is no known exploitation of CVE-2009-5010 in the wild and no public exploit code.

Sources

Also known as GHSA-mpg6-rgp4-35rr, PYSEC-2010-7.

Is CVE-2009-5010 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free