Gentoo Logo

QDBM, ImageMagick, GDAL: RUNPATH issues


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200511-02 / QDBM ImageMagick GDAL
Release Date November 02, 2005
Latest Revision May 22, 2006: 02
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/qdbm < 1.8.33-r2 >= 1.8.33-r2 All supported architectures
media-gfx/imagemagick < >= All supported architectures
sci-libs/gdal < 1.3.0-r1 >= 1.3.0-r1, revision >= 1.2.6-r4 All supported architectures

Related bugreports: #105717, #105760, #108534


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

2.  Impact Information


QDBM is a library of routines for managing a database. ImageMagick is a collection of tools to read, write and manipulate images. GDAL is a geospatial data abstraction library.


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 QDBM users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/qdbm-1.8.33-r2"

All ImageMagick users should upgrade to the latest version:

Code Listing 3.2: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-"

All GDAL users should upgrade to the latest version:

Code Listing 3.3: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose sci-libs/gdal

4.  References


Page updated November 02, 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.