Gentoo Logo

LibAST: Privilege escalation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200601-14 / LibAST
Release Date January 29, 2006
Latest Revision January 29, 2006: 02
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
x11-libs/libast < 0.7 >= 0.7 All supported architectures

Related bugreports: #120106


A buffer overflow in LibAST may result in execution of arbitrary code with escalated privileges.

2.  Impact Information


LibAST is a utility library that was originally intended to accompany Eterm, but may be used by various other applications.


Michael Jennings discovered an exploitable buffer overflow in the configuration engine of LibAST.


The vulnerability can be exploited to gain escalated privileges if the application using LibAST is setuid/setgid and passes a specifically crafted filename to LibAST's configuration engine.

3.  Resolution Information


Identify all applications linking against LibAST and verify they are not setuid/setgid.


All users should upgrade to the latest version and run revdep-rebuild:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-libs/libast-0.7"
# revdep-rebuild

4.  References


Page updated January 29, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.