7.5high
In Pure-FTPd before 1.0.50, an incorrect maxfilesize quota mechanism in the server allows attackers to upload files of unbounded size, whic…
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 4.77% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pureftpd pure-ftpd | from 1.0.23 before 1.0.50 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.)
NVD (es)
En Pure-FTPd antes de la versión 1.0.50, un mecanismo incorrecto de cuota max_filesize en el servidor permite a los atacantes subir archivos de tamaño no limitado, lo que puede llevar a la denegación de servicio o a la caída del servidor. Esto ocurre porque una determinada prueba mayor que cero no anticipa un valor inicial de -1. (Están afectadas las versiones 1.0.23 a 1.0.49)
References
| https://github.com/jedisct1/pure-ftpd/pull/158 | exploit, 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/commit/37ad222868e52271905b94afea4fc780d83294b4 | patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2025/11/msg00003.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40524 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2021-40524 changed 2026-06-17 | Public domain |