CVE-2021-40524Pureftpd Pure-ftpd
High 7.5 No auth needed
Follow: this CVE · Pureftpd · Pureftpd Pure-ftpd We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 4.8% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Sep 5, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
In Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, which may lead to denial of service or a server hang. This occurs because a certain greater-than-zero test does not anticipate an initial -1 value. (Versions 1.0.23 through 1.0.49 are affected.)
What to do
- Apply the vendor's security update for Pure-ftpd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pureftpd | pure-ftpd | ≥ 1.0.23 < 1.0.50 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org