GLSA 200403-01: Libxml2 URI Parsing Buffer Overflow Vulnerabilities

Severity:normal
Title:Libxml2 URI Parsing Buffer Overflow Vulnerabilities
Date:03/05/2004
Bugs: #42735
ID:200403-01

Synopsis

A buffer overflow has been discovered in libxml2 versions prior to 2.6.6 which may be exploited by an attacker allowing the execution of arbitrary code.

Background

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-libs/libxml2 < 2.6.6 >= 2.6.6 All supported architectures

Description

Yuuichi Teranishi discovered a flaw in libxml2 versions prior to 2.6.6. When the libxml2 library fetches a remote resource via FTP or HTTP, libxml2 uses parsing routines that can overflow a buffer caused by improper bounds checking if they are passed a URL longer than 4096 bytes.

Impact

If an attacker is able to exploit an application using libxml2 that parses remote resources, then this flaw could be used to execute arbitrary code.

Workaround

No workaround is available; users are urged to upgrade libxml2 to 2.6.6.

Resolution

All users are recommended to upgrade their libxml2 installation:

    # emerge sync
    # emerge -pv ">=dev-libs/libxml2-2.6.6"
    # emerge ">=dev-libs/libxml2-2.6.6"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200403-01.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!