ubuntu-cve-2021-40524
Vulnerability from osv_ubuntu
Published
2021-09-05 19:15
Modified
2026-05-20 14:53
Summary
Details
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.)
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.36-3.2+deb8u1build0.16.04.1"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.36-3.2+deb8u1build0.16.04.1"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.36-3.2+deb8u1build0.16.04.1"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.36-3.2+deb8u1build0.16.04.1"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.36-3.2+deb8u1build0.16.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.36-3.2+deb8u1build0.16.04.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.36-3.2",
"1.0.36-3.2build1",
"1.0.36-3.2+deb8u1build0.16.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.46-1ubuntu18.04.1"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.46-1ubuntu18.04.1"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.46-1ubuntu18.04.1"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.46-1ubuntu18.04.1"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.46-1ubuntu18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.46-1ubuntu18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.46-1",
"1.0.46-1build1",
"1.0.46-1ubuntu18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.49-4ubuntu0.1"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.49-4ubuntu0.1"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.49-4ubuntu0.1"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.49-4ubuntu0.1"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.49-4ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.49-4ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.47-3build1",
"1.0.49-1",
"1.0.49-2",
"1.0.49-3",
"1.0.49-4",
"1.0.49-4ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.50-2.1ubuntu0.22.04.1"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.50-2.1ubuntu0.22.04.1"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.50-2.1ubuntu0.22.04.1"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.50-2.1ubuntu0.22.04.1"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.50-2.1ubuntu0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.50-2.1ubuntu0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.49-4.1build1",
"1.0.50-2",
"1.0.50-2.1",
"1.0.50-2.1ubuntu0.22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.50-2.2build2"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.50-2.2build2"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.50-2.2build2"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.50-2.2build2"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.50-2.2build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.50-2.2build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.50-2.1build1",
"1.0.50-2.1ubuntu1",
"1.0.50-2.2",
"1.0.50-2.2build1",
"1.0.50-2.2build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.50-2.2build3"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.50-2.2build3"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.50-2.2build3"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.50-2.2build3"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.50-2.2build3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.50-2.2build3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.50-2.2build3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pure-ftpd",
"binary_version": "1.0.50-2.2build4"
},
{
"binary_name": "pure-ftpd-common",
"binary_version": "1.0.50-2.2build4"
},
{
"binary_name": "pure-ftpd-ldap",
"binary_version": "1.0.50-2.2build4"
},
{
"binary_name": "pure-ftpd-mysql",
"binary_version": "1.0.50-2.2build4"
},
{
"binary_name": "pure-ftpd-postgresql",
"binary_version": "1.0.50-2.2build4"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "pure-ftpd",
"purl": "pkg:deb/ubuntu/pure-ftpd@1.0.50-2.2build4?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.50-2.2build3",
"1.0.50-2.2build4"
]
}
],
"aliases": [],
"details": "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.)",
"id": "UBUNTU-CVE-2021-40524",
"modified": "2026-05-20T14:53:33Z",
"published": "2021-09-05T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-40524"
},
{
"type": "REPORT",
"url": "https://github.com/jedisct1/pure-ftpd/pull/158"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-40524"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-40524"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…