CVE-2004-0989 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code via buffer overflows in libxml2's FTP and HTTP URL handling functions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-0989?

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.

Official 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.

Which versions are affected by CVE-2004-0989?

It affects 6 products.

Linux distribution packages (16)
libxml2 Red Hat:enterprise_linux:3::asAll versions0:2.5.10-7
libxml2-debuginfo Red Hat:enterprise_linux:3::asAll versions0:2.5.10-7
libxml2-devel Red Hat:enterprise_linux:3::asAll versions0:2.5.10-7
libxml2-python Red Hat:enterprise_linux:3::asAll versions0:2.5.10-7
libxml2 Red Hat:enterprise_linux:3::desktopAll versions0:2.5.10-7
libxml2-debuginfo Red Hat:enterprise_linux:3::desktopAll versions0:2.5.10-7
libxml2-devel Red Hat:enterprise_linux:3::desktopAll versions0:2.5.10-7
libxml2-python Red Hat:enterprise_linux:3::desktopAll versions0:2.5.10-7
libxml2 Red Hat:enterprise_linux:3::esAll versions0:2.5.10-7
libxml2-debuginfo Red Hat:enterprise_linux:3::esAll versions0:2.5.10-7
libxml2-devel Red Hat:enterprise_linux:3::esAll versions0:2.5.10-7
libxml2-python Red Hat:enterprise_linux:3::esAll versions0:2.5.10-7
libxml2 Red Hat:enterprise_linux:3::wsAll versions0:2.5.10-7
libxml2-debuginfo Red Hat:enterprise_linux:3::wsAll versions0:2.5.10-7
libxml2-devel Red Hat:enterprise_linux:3::wsAll versions0:2.5.10-7
libxml2-python Red Hat:enterprise_linux:3::wsAll versions0:2.5.10-7

Products include Redhat Fedora Core, Trustix Secure Linux, Ubuntu Ubuntu Linux, Xmlsoft Libxml, Xmlsoft Libxml2, Xmlstarlet Command Line Xml Toolkit.

How do I fix CVE-2004-0989?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-0989 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0989 exists.

Public exploit code: 1 Exploit-DB entry.

All Redhat Fedora Core vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-0989, DSA-582-1, GHSA-mpv4-c8cf-72rm, RHSA-2004:615.

Is CVE-2004-0989 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free