{"id":"CVE-2021-40524","published":"2021-09-05T18:26:26Z","modified":"2025-11-04T00:12:03Z","title":"In Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04768,"percentile":0.92115,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/jedisct1/pure-ftpd/pull/158","tags":["x_refsource_MISC"]},{"url":"https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html","tags":[]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.42},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2021-40524","name":"Pure-FTPd 1.0.23 < 1.0.50 - Arbitrary File Upload","severity":"high","path":"network/cves/2021/CVE-2021-40524.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2021/CVE-2021-40524.yaml"}],"provenance":"source"},"summary":{"text":"The flaw is in the max_filesize quota mechanism of the Pure-FTPd FTP server (versions before 1.0.50), where a greater-than-zero check fails to account for an initial value of -1. An attacker who can upload files to the server can send files of unbounded size, which may cause a denial of service or a server hang.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:20:51Z"},"euvd":{"id":"EUVD-2021-27700","exploited":false,"provenance":"source"}}