libxslt: Execution of arbitrary code

Security Team  Contact Address

Updated August 06, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200808-06 / libxslt
Release Date August 06, 2008
Latest Revision August 06, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/libxslt < 1.1.24-r1 >= 1.1.24-r1, < 1.1.8 All supported architectures

Related bugreports: #232172

Synopsis

libxslt is affected by a heap-based buffer overflow, possibly leading to the execution of arbitrary code.

2.  Impact Information

Background

libxslt is the XSLT C library developed for the GNOME project. XSLT is an XML language to define transformations for XML.

Description

Chris Evans (Google Security) reported that the libexslt library that is part of libxslt is affected by a heap-based buffer overflow in the RC4 encryption/decryption functions.

Impact

A remote attacker could entice a user to process an XML file using a specially crafted XSLT stylesheet in an application linked against libxslt, possibly leading to the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libxslt users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libxslt-1.1.24-r1"

4.  References