{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0416 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0416 is a critical memory corruption vulnerability in Gentoo Linux, published on 11 Jun 2004. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-0416 and fix it if it is affected.\n\nWhat it is: CVE-2004-0416 is a critical memory corruption vulnerability in Gentoo Linux, published on 11 Jun 2004. 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-2004-0416 exists.\n\nAffected product: Gentoo Linux. 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-2004-0416/ (Markdown: https://insights.sbomify.com/CVE-2004-0416/index.md)","id":"CVE-2004-0416","markdown":"https://insights.sbomify.com/CVE-2004-0416/index.md","name":"CVE-2004-0416","record":{"aliases":["DEBIAN-CVE-2004-0416","GHSA-xrvc-m3hh-hp9h"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CVS version control","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via a double free vulnerability in the CVS version control system.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cvs","vendor":"cvs"},{"product":"linux","vendor":"gentoo"},{"product":"openbsd","vendor":"openbsd"},{"product":"openpkg","vendor":"openpkg"},{"product":"propack","vendor":"sgi"}],"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":"Double free vulnerability for the error_prog_name string in CVS 1.12.x through 1.12.8, and 1.11.x through 1.11.16, may allow remote attackers to execute arbitrary code.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-08-13","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-08-13","kind":"exploitdb","ref":"392","stars":null,"title":"Remote CVS 1.11.15 - 'error_prog_name' Arbitrary Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2004-0416","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux","openbsd:openbsd","sgi:propack"],"type":"memory_corruption","year":"2004"},"n_packages":0,"n_references":11,"next":{"headline":"Integer overflow in n/a","id":"CVE-2004-0417"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2004-0415"},"products":["n/a"],"published":"2004-06-11","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2012-0804","kev_date_added":null,"published":"2012-05-29"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0414","kev_date_added":null,"published":"2004-06-11"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0418","kev_date_added":null,"published":"2004-06-11"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2004-1342","kev_date_added":null,"published":"2005-04-27"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-0753","kev_date_added":null,"published":"2005-04-21"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2003-0015","kev_date_added":null,"published":"2004-09-01"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via a double free vulnerability in the CVS version control system.","url":"https://insights.sbomify.com/CVE-2004-0416/"}