{"id":"CVE-2021-40524","state":"PUBLISHED","title":"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 ser","description":"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.)","publishedAt":"2021-09-05T18:26:26.000Z","updatedAt":"2025-11-04T00:12:03.856Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/jedisct1/pure-ftpd/pull/158","https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50","https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4","https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:58.929Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/40xxx/CVE-2021-40524.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-40524","state":"PUBLISHED","datePublished":"2021-09-05T18:26:26.000Z","dateUpdated":"2025-11-04T00:12:03.856Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-09-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.)"}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-11-24T08:14:24.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-40524","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.)"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/jedisct1/pure-ftpd/pull/158","refsource":"MISC","url":"https://github.com/jedisct1/pure-ftpd/pull/158"},{"name":"https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50","refsource":"CONFIRM","url":"https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50"},{"name":"https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4","refsource":"CONFIRM","url":"https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/jedisct1/pure-ftpd/pull/158","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T00:12:03.856Z"}}]}}}