xli, xloadimage: Multiple vulnerabilities — GLSA 200503-05

xli and xloadimage are vulnerable to multiple issues, potentially leading to the execution of arbitrary code.

Affected Packages

media-gfx/xloadimage on all architectures
Affected versions < 4.1-r2
Unaffected versions >= 4.1-r2
media-gfx/xli on all architectures
Affected versions < 1.17.0-r1
Unaffected versions >= 1.17.0-r1

Background

xli and xloadimage are X11 utilities for displaying and manipulating a wide range of image formats.

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team has reported that xli and xloadimage contain a flaw in the handling of compressed images, where shell meta-characters are not adequately escaped. Rob Holland of the Gentoo Linux Security Audit Team has reported that an xloadimage vulnerability in the handling of Faces Project images discovered by zen-parse in 2001 remained unpatched in xli. Additionally, it has been reported that insufficient validation of image properties in xli could potentially result in buffer management errors.

Impact

Successful exploitation would permit a remote attacker to execute arbitrary shell commands, or arbitrary code with the privileges of the xloadimage or xli user.

Workaround

There is no known workaround at this time.

Resolution

All xli users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-gfx/xli-1.17.0-r1"

All xloadimage users should also upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-gfx/xloadimage-4.1-r2"

References

Release Date
March 02, 2005

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries