{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40524 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2021-40524 is a high-severity denial of service vulnerability in n/a, published on 5 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40524 and fix it if it is affected.\n\nWhat it is: CVE-2021-40524 is a high-severity denial of service vulnerability in n/a, published on 5 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-40524 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-40524/ (Markdown: https://insights.sbomify.com/CVE-2021-40524/index.md)","id":"CVE-2021-40524","markdown":"https://insights.sbomify.com/CVE-2021-40524/index.md","name":"CVE-2021-40524","record":{"aliases":["DEBIAN-CVE-2021-40524","DLA-4360-1","GHSA-p53v-96v3-p5jg","UBUNTU-CVE-2021-40524"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Pure-FTPd server","requires_auth":"none","summary":"Attackers can upload unbounded files due to a quota mechanism flaw, causing server hangs or denial of service in Pure-FTPd.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"pure-ftpd","vendor":"pureftpd"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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.)","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"network/cves/2021/CVE-2021-40524.yaml","stars":null,"title":"Pure-FTPd 1.0.23 \u003c 1.0.50 - Arbitrary File Upload"}],"tier":"weaponised"},"has_fix":true,"headline":"Denial of service in n/a","id":"CVE-2021-40524","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"Sieve file storage vulnerable to path traversal attacks","id":"CVE-2021-40525"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2021-40523"},"products":["n/a"],"published":"2021-09-05","related":[{"cvss_score":8.6,"headline":"Memory corruption in n/a","id":"CVE-2024-48208","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2020-35359","kev_date_added":null,"published":"2020-12-26"},{"cvss_score":5.8,"headline":"Other in n/a","id":"CVE-2011-1575","kev_date_added":null,"published":"2011-05-23"},{"cvss_score":3.6,"headline":"Path traversal in n/a","id":"CVE-2011-3171","kev_date_added":null,"published":"2011-11-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"Attackers can upload unbounded files due to a quota mechanism flaw, causing server hangs or denial of service in Pure-FTPd.","url":"https://insights.sbomify.com/CVE-2021-40524/"}