Red Hat: libxml2 Buffer overflow vulernability
Summary
Summary
libxml2 is a library for manipulating XML files.Yuuichi Teranishi discovered a flaw in libxml2 versions prior to 2.6.6. When fetching a remote resource via FTP or HTTP, libxml2 uses specialparsing routines. These routines can overflow a buffer if passed a verylong URL. If an attacker is able to find an application using libxml2 thatparses remote resources and allows them to influence the URL, then thisflaw could be used to execute arbitrary code. The Common Vulnerabilitiesand Exposures project (cve.mitre.org) has assigned the name CAN-2004-0110to this issue.All users are advised to upgrade to these updated packages, which contain abackported fix and are not vulnerable to this issue.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:
up2date
This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.
If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate. The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:
https://access.redhat.com
5. RPMs required:
Red Hat Linux 9:
SRPMS:
i386:
6. Verification:
MD5 sum Package Name
7a1834ebc511ce8752dab9265ed0e3dd 9/en/os/SRPMS/libxml2-2.5.4-2.src.rpm
f9663aacd4980f9e2805f90ea6f8fd93 9/en/os/i386/libxml2-2.5.4-2.i386.rpm
ef2c2b5b8644ac165529a45d34029d3d 9/en/os/i386/libxml2-devel-2.5.4-2.i386.rpm
1c269ed922321b3cce101408767de3ad 9/en/os/i386/libxml2-python-2.5.4-2.i386.rpm
These packages are GPG signed by Red Hat for security. Our key is
available from https://www.redhat.com/security/keys.html
You can verify each package with the following command:
rpm --checksig -v
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
md5sum
Package List
Topic
Topic
Updated libxml2 packages that fix an overflow when parsing remote resources
are now available.
Relevant Releases Architectures
Red Hat Linux 9 - i386
Bugs Fixed