Gentoo Logo

Perl, Qt-UnixODBC, CMake: RUNPATH issues


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200510-14 / Perl Qt-UnixODBC CMake
Release Date October 17, 2005
Latest Revision May 22, 2006: 03
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/perl < 5.8.7-r1 >= 5.8.7-r1, revision >= 5.8.6-r6 All supported architectures
dev-db/qt-unixODBC < 3.3.4-r1 >= 3.3.4-r1 All supported architectures
dev-util/cmake < 2.2.0-r1 >= 2.2.0-r1, revision >= 2.0.6-r1 All supported architectures

Related bugreports: #105719, #105721, #106678


Multiple packages suffer from RUNPATH issues that may allow users in the "portage" group to escalate privileges.

2.  Impact Information


Perl is a stable, cross-platform programming language created by Larry Wall. Qt-UnixODBC is an ODBC library for Qt. CMake is a cross-platform build environment.


Some packages may introduce insecure paths into the list of directories that are searched for libraries at runtime. Furthermore, packages depending on the MakeMaker Perl module for build configuration may have incorrectly copied the LD_RUN_PATH into the DT_RPATH.


A local attacker, who is a member of the "portage" group, could create a malicious shared object in the Portage temporary build directory that would be loaded at runtime by a dependent executable, potentially resulting in privilege escalation.

3.  Resolution Information


Only grant "portage" group rights to trusted users.


All Perl users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/perl

All Qt-UnixODBC users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/qt-unixODBC-3.3.4-r1"

All CMake users should upgrade to the latest version:

Code Listing 3.3: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose dev-util/cmake

4.  References


Page updated October 17, 2005

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.