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.)
References
| Link | Resource |
|---|---|
| https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4 | Patch Third Party Advisory |
| https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50 | Patch Third Party Advisory |
| https://github.com/jedisct1/pure-ftpd/pull/158 | Exploit Third Party Advisory |
| https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4 | Patch Third Party Advisory |
| https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50 | Patch Third Party Advisory |
| https://github.com/jedisct1/pure-ftpd/pull/158 | Exploit Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html |
Configurations
History
04 Nov 2025, 01:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
21 Nov 2024, 06:24
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4 - Patch, Third Party Advisory | |
| References | () https://github.com/jedisct1/pure-ftpd/compare/1.0.49...1.0.50 - Patch, Third Party Advisory | |
| References | () https://github.com/jedisct1/pure-ftpd/pull/158 - Exploit, Third Party Advisory |
Information
Published : 2021-09-05 19:15
Updated : 2025-11-04 01:15
NVD link : CVE-2021-40524
Mitre link : CVE-2021-40524
CVE.ORG link : CVE-2021-40524
JSON object : View
Products Affected
pureftpd
- pure-ftpd
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type
