CVE-2007-6740 pyftpdlib vulnerable to allocation of resources without limits

Medium 4.0 Published Updated

Remote authenticated users can cause a denial of service in pyftpdlib by exploiting unlimited filename discovery attempts in the STOU command.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-6740?

CVE-2007-6740 is a medium-severity denial of service vulnerability in n/a, published on 19 Oct 2010. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The ftp_STOU function in FTPServer.py in pyftpdlib before 0.2.0 does not limit the number of attempts to discover a unique filename, which might allow remote authenticated users to cause a denial of service via a STOU command.

Weakness: CWE-264

Which versions are affected by CVE-2007-6740?

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

PackageAffectedFixed in
pyftpdlib PyPIAll versions0.2.0
pyftpdlib PyPIAll versions0.2.0
pyftpdlib PyPIAll versions0.2.0

Products include G.rodola Pyftpdlib.

How do I fix CVE-2007-6740?

Upgrade pyftpdlib to 0.2.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2007-6740 being exploited?

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

Sources

Also known as GHSA-cx59-cp6c-9fr8, PYSEC-2010-24.

Is CVE-2007-6740 in your software?

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

Check your SBOMs for free