Perl, Qt-UnixODBC, CMake: RUNPATH issues — GLSA 200510-14

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

Affected Packages

dev-lang/perl on all architectures
Affected versions < 5.8.7-r1
Unaffected versions >= 5.8.7-r1, revision >= 5.8.6-r6
dev-db/qt-unixODBC on all architectures
Affected versions < 3.3.4-r1
Unaffected versions >= 3.3.4-r1
dev-util/cmake on all architectures
Affected versions < 2.2.0-r1
Unaffected versions >= 2.2.0-r1, revision >= 2.0.6-r1

Background

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.

Description

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.

Impact

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.

Workaround

Only grant "portage" group rights to trusted users.

Resolution

All Perl users should upgrade to the latest version:

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

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

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

All CMake users should upgrade to the latest version:

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

References

Release Date
October 17, 2005

Latest Revision
May 22, 2006: 03

Severity
low

Exploitable
local

Bugzilla entries