{"answers":{"affected":"It affects 6 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0989 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0989 is a critical memory corruption vulnerability in Redhat Fedora Core, published on 28 Oct 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-0989 and fix it if it is affected.\n\nWhat it is: CVE-2004-0989 is a critical memory corruption vulnerability in Redhat Fedora Core, published on 28 Oct 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-0989 exists.\n\nAffected product: Redhat Fedora Core. 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-0989/ (Markdown: https://insights.sbomify.com/CVE-2004-0989/index.md)","id":"CVE-2004-0989","markdown":"https://insights.sbomify.com/CVE-2004-0989/index.md","name":"CVE-2004-0989","record":{"aliases":["DEBIAN-CVE-2004-0989","DSA-582-1","GHSA-mpv4-c8cf-72rm","RHSA-2004:615"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"libxml2 library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via buffer overflows in libxml2's FTP and HTTP URL handling functions.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora_core","vendor":"redhat"},{"product":"secure_linux","vendor":"trustix"},{"product":"ubuntu_linux","vendor":"ubuntu"},{"product":"libxml","vendor":"xmlsoft"},{"product":"libxml2","vendor":"xmlsoft"},{"product":"command_line_xml_toolkit","vendor":"xmlstarlet"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other versions, may allow remote attackers to execute arbitrary code via (1) a long FTP URL that is not properly handled by the xmlNanoFTPScanURL function, (2) a long proxy URL containing FTP data that is not properly handled by the xmlNanoFTPScanProxy function, and other overflows related to manipulation of DNS length values, including (3) xmlNanoFTPConnect, (4) xmlNanoHTTPConnectHost, and (5) xmlNanoHTTPConnectHost.","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":1,"first_seen":"2004-10-26","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-10-26","kind":"exploitdb","ref":"24704","stars":null,"title":"Libxml2 - Multiple Remote Stack Buffer Overflow Vulnerabilities"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2004-0989","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:fedora_core","products":["redhat:fedora_core","trustix:secure_linux","ubuntu:ubuntu_linux","xmlsoft:libxml2"],"type":"memory_corruption","year":"2004"},"n_packages":16,"n_references":22,"next":{"headline":"Integer overflow in n/a","id":"CVE-2004-0990"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/redhat/libxml2-python","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/redhat/libxml2-python","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/redhat/libxml2-python","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2004:615"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.5.10-7"],"introduced":["0"],"last_affected":[],"package":"libxml2-python","purl":"pkg:rpm/redhat/libxml2-python","source":"RHSA-2004:615"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2004-0988"},"products":["n/a"],"published":"2004-10-28","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2004-1154","kev_date_added":null,"published":"2004-12-22"},{"cvss_score":7.8,"headline":"Use after free in n/a","id":"CVE-2006-0453","kev_date_added":null,"published":"2006-02-14"},{"cvss_score":7.2,"headline":"Integer overflow in n/a","id":"CVE-2004-0619","kev_date_added":null,"published":"2004-06-30"},{"cvss_score":5.8,"headline":"Memory corruption in n/a","id":"CVE-2007-2874","kev_date_added":null,"published":"2007-07-27"},{"cvss_score":5,"headline":"Information disclosure in n/a","id":"CVE-2005-3630","kev_date_added":null,"published":"2006-02-24"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2006-0451","kev_date_added":null,"published":"2006-02-14"}],"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 via buffer overflows in libxml2's FTP and HTTP URL handling functions.","url":"https://insights.sbomify.com/CVE-2004-0989/"}