[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RedHat] Buffer Overflow in libxml2 - RHSA-2004:091-01



-----BEGIN PGP SIGNED MESSAGE-----

Liebe Kolleginnen und Kollegen,

soeben erreichte uns nachfolgendes RedHat Security Advisory ueber
Sicherheitsprobleme bei libxml2. Wir geben diese Informationen
unveraendert an Sie weiter.

CAN-2003-0973

  Die Routinen zum Parsen von ftp:// und http:// URLs enthalten einen
  Buffer Overflow, durch den Angreifer beliebigen Code mit den
  Privilegien des Benutzers der Anwendung ausfuehren koennen, welche
  die libxml2 benutzt. Vorraussetzung ist allerdings, das dem Opfer
  bzw. der Anwendung ein entsprechend formulierter URL untergeschoben
  werden kann.

Welche Versionen von libxml2 und RedHat Linux betroffen sind,
entnehmen sie bitte dem angefuegten Advisory.

(c) der deutschen Zusammenfassung bei DFN-CERT Services GmbH; die 
Verbreitung, auch auszugsweise, ist nur unter Hinweis auf den Urheber,
DFN-CERT Services GmbH, und nur zu nicht kommerziellen Zwecken gestattet.

Mit freundlichen Gruessen,
		Klaus Moeller, DFN-CERT


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated libxml2 packages fix security vulnerability
Advisory ID:       RHSA-2004:091-01
Issue date:        2004-02-26
Updated on:        2004-02-26
Product:           Red Hat Linux
Keywords:          
Cross references:  
Obsoletes:         
CVE Names:         CAN-2004-0110
- - ---------------------------------------------------------------------

1. Topic:

Updated libxml2 packages that fix an overflow when parsing remote resources
are now available.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386

3. Problem description:

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 special
parsing routines.  These routines can overflow a buffer if passed a very
long URL.  If an attacker is able to find an application using libxml2 that
parses remote resources and allows them to influence the URL, then this
flaw could be used to execute arbitrary code.  The Common Vulnerabilities
and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0110
to this issue.

All users are advised to upgrade to these updated packages, which contain a
backported fix and are not vulnerable to this issue.

4. 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://rhn.redhat.com/help/latest-up2date.pxt

5. RPMs required:

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/libxml2-2.5.4-2.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/libxml2-2.5.4-2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/libxml2-devel-2.5.4-2.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/libxml2-python-2.5.4-2.i386.rpm



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 <filename>

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 <filename>


7. References:

http://mail.gnome.org/archives/xml/2004-February/msg00070.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0110

8. Contact:

The Red Hat security contact is <secalert@xxxxxxxxxx>.  More contact
details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAPaQjXlSAg2UNWIIRAjgBAKCrCcz2z1BBVAz3nvu8uZrT4unYuwCgp8JK
fcRHkPyCU8AOvEbvrjmlp8w=
=Lbgx
- -----END PGP SIGNATURE-----

- -- 
Dipl. Inform. Klaus Moeller  (CSIRT)              DFN-CERT Services GmbH
https://www.dfn-cert.de/                               +49-40-808077-555
PGP RSA/2048, 0BB7C8F9, 6D CC 59 0F 86 0C 58 4D  35 D7 0C 55 EF 4F 42 23

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQEVAwUBQD2r3YrEggYLt8j5AQGHPAgAnZ1gc8iJ8DEMoqv7vdYJPqg/X8w0eJYH
/wu76kEnzz9j74+Uo2C/TZb6oLScRcNtbyf9iVpATqweFxfew4scNMZTFOGGYCvP
eEpIisYx0LZJ9lN809NSj5P52w/FmpHDo6qsHQMZhvoWKBkEkbTxchbRhEea8J+/
/i3/DeDOByrPc9k7VUPKSz5lwqZj4YhXmGFlWOo2yQc8b7oSucr0TGRxI8YUtrZC
E71dYBTSRO7uhUg93cTmjxlQGQhNJzgii9FN903EJ2h+avuTf+Dbd6tVZh3NmwoB
3Vd/ks4rVQo68GCddcPwPyRjCoEgZGLezrSGbKeGs0OeMM2vP+o1wQ==
=Ceib
-----END PGP SIGNATURE-----