{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-4221 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2010-4221 is a critical memory corruption vulnerability in n/a, published on 9 Nov 2010. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-4221 and fix it if it is affected.\n\nWhat it is: CVE-2010-4221 is a critical memory corruption vulnerability in n/a, published on 9 Nov 2010. 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-2010-4221 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-2010-4221/ (Markdown: https://insights.sbomify.com/CVE-2010-4221/index.md)","id":"CVE-2010-4221","markdown":"https://insights.sbomify.com/CVE-2010-4221/index.md","name":"CVE-2010-4221","record":{"aliases":["DEBIAN-CVE-2010-4221","GHSA-gf2w-q84f-pmmw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FTP server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on ProFTPD servers via stack-based buffer overflows triggered by TELNET IAC escape characters.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"proftpd","vendor":"proftpd"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Multiple stack-based buffer overflows in the pr_netio_telnet_gets function in netio.c in ProFTPD before 1.3.3c allow remote attackers to execute arbitrary code via vectors involving a TELNET IAC escape character to a (1) FTP or (2) FTPS server.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2010-11-01","github_poc":3,"max_poc_stars":2,"metasploit":2,"nuclei":0,"refs":[{"date":"2017-10-28T20:37:26Z","kind":"github_poc","ref":"https://github.com/M41doror/cve-2010-4221","stars":2,"title":"This exploit was written to study some concepts, enjoy!"},{"date":"2010-11-01","kind":"metasploit","ref":"exploit/freebsd/ftp/proftp_telnet_iac","stars":null,"title":"ProFTPD 1.3.2rc3 - 1.3.3b Telnet IAC Buffer Overflow (FreeBSD)"},{"date":"2010-11-01","kind":"metasploit","ref":"exploit/linux/ftp/proftp_telnet_iac","stars":null,"title":"ProFTPD 1.3.2rc3 - 1.3.3b Telnet IAC Buffer Overflow (Linux)"},{"date":"2010-11-07","kind":"exploitdb","ref":"15449","stars":null,"title":"ProFTPd IAC 1.3.x - Remote Command Execution"},{"date":"2010-12-02","kind":"exploitdb","ref":"16878","stars":null,"title":"ProFTPd 1.3.2 rc3 \u003c 1.3.3b (FreeBSD) - Telnet IAC Buffer Overflow (Metasploit)"},{"date":"2011-01-09","kind":"exploitdb","ref":"16851","stars":null,"title":"ProFTPd 1.3.2 rc3 \u003c 1.3.3b (Linux) - Telnet IAC Buffer Overflow (Metasploit)"},{"date":"2025-12-05T18:09:02Z","kind":"github_poc","ref":"https://github.com/Mafiosohack/Offensive-lab-2","stars":0,"title":"Penetration test walkthrough on a vulnerable Ubuntu VM. Exploited the ProFTPD 1.3.3c backdoor (CVE-2010-4221) to gain root access and capture the flag. Includes Nmap enumeration, Metasploit payload setup, and user hash cracking (John the Ripper)."},{"date":"2026-09-08T14:46:32Z","kind":"github_poc","ref":"https://github.com/diegslva/cve-2010-4221-lab","stars":0,"title":"From patch to RCE: hand-built exploit for CVE-2010-4221 (ProFTPD TELNET IAC stack overflow), with the full failure-driven journey documented"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2010-4221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2010"},"n_packages":0,"n_references":13,"next":{"headline":"Information disclosure in n/a","id":"CVE-2010-4225"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2010-4220"},"products":["n/a"],"published":"2010-11-09","related":[{"cvss_score":9.3,"headline":"ProFTPD 1.3.3c Backdoor Command Execution","id":"CVE-2010-20103","kev_date_added":null,"published":"2025-08-20"},{"cvss_score":9,"headline":"Use after free in n/a","id":"CVE-2011-4130","kev_date_added":null,"published":"2011-12-06"},{"cvss_score":8.7,"headline":"ProFTPD mod_sftp Heap Buffer Overflow via SFTP Packet Reassembly","id":"CVE-2026-63090","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.6,"headline":"ProFTPD ACL Bypass via /proc/self/root Path Prefix in RNFR","id":"CVE-2026-35025","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":8.1,"headline":"SQL injection in ProFTPD","id":"CVE-2026-42167","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2004-0346","kev_date_added":null,"published":"2004-03-18"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on ProFTPD servers via stack-based buffer overflows triggered by TELNET IAC escape characters.","url":"https://insights.sbomify.com/CVE-2010-4221/"}