{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0396 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0396 is a high-severity memory corruption vulnerability in n/a, published on 20 May 2004. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2004-0396 and fix it if it is affected.\n\nWhat it is: CVE-2004-0396 is a high-severity memory corruption vulnerability in n/a, published on 20 May 2004. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0396 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-2004-0396/ (Markdown: https://insights.sbomify.com/CVE-2004-0396/index.md)","id":"CVE-2004-0396","markdown":"https://insights.sbomify.com/CVE-2004-0396/index.md","name":"CVE-2004-0396","record":{"aliases":["DEBIAN-CVE-2004-0396","DSA-505","GHSA-qvjj-23hg-238h","RHSA-2004:190"],"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":"low_privilege","summary":"Remote attackers can execute arbitrary code on CVS servers using the pserver mechanism via a heap-based buffer overflow in Entry lines.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cvs","vendor":"cvs"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws"],"exploits":{"exploitdb":2,"first_seen":"2004-06-25","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-06-25","kind":"exploitdb","ref":"300","stars":null,"title":"CVS (Linux/FreeBSD) - Remote Entry Line Heap Overflow"},{"date":"2004-06-25","kind":"exploitdb","ref":"301","stars":null,"title":"CVS - Remote Entry Line Root Heap Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2004-0396","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2004"},"n_packages":8,"n_references":28,"next":{"headline":"Memory corruption in n/a","id":"CVE-2004-0397"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs","purl":"pkg:rpm/redhat/cvs","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs-debuginfo","purl":"pkg:rpm/redhat/cvs-debuginfo","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs","purl":"pkg:rpm/redhat/cvs","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs-debuginfo","purl":"pkg:rpm/redhat/cvs-debuginfo","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs","purl":"pkg:rpm/redhat/cvs","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs-debuginfo","purl":"pkg:rpm/redhat/cvs-debuginfo","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs","purl":"pkg:rpm/redhat/cvs","source":"RHSA-2004:190"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.11.2-22"],"introduced":["0"],"last_affected":[],"package":"cvs-debuginfo","purl":"pkg:rpm/redhat/cvs-debuginfo","source":"RHSA-2004:190"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2004-0395"},"products":["n/a"],"published":"2004-05-20","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-0416","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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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 on CVS servers using the pserver mechanism via a heap-based buffer overflow in Entry lines.","url":"https://insights.sbomify.com/CVE-2004-0396/"}