QDBM, ImageMagick, GDAL: RUNPATH issues — GLSA 200511-02

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

Affected packages

dev-db/qdbm on all architectures
Affected versions < 1.8.33-r2
Unaffected versions >= 1.8.33-r2
media-gfx/imagemagick on all architectures
Affected versions < 6.2.4.2-r1
Unaffected versions >= 6.2.4.2-r1
sci-libs/gdal on all architectures
Affected versions < 1.3.0-r1
Unaffected versions >= 1.3.0-r1
revision >= 1.2.6-r4

Background

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.

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

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

All ImageMagick users should upgrade to the latest version:

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

All GDAL users should upgrade to the latest version:

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

References

Release date
November 02, 2005

Latest revision
May 22, 2006: 02

Severity
low

Exploitable
local

Bugzilla entries