GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sun Oct 30, 2005 6:09 pm Post subject: [ GLSA 200510-26 ] XLI, Xloadimage: Buffer overflow |
|
|
Gentoo Linux Security Advisory
Title: XLI, Xloadimage: Buffer overflow (GLSA 200510-26)
Severity: normal
Exploitable: remote
Date: October 30, 2005
Bug(s): #108365
ID: 200510-26
Synopsis
XLI and Xloadimage contain a vulnerability which could potentially result in the execution of arbitrary code.
Background
XLI and Xloadimage are X11 image manipulation utilities.
Affected Packages
Package: media-gfx/xli
Vulnerable: < 1.17.0-r2
Unaffected: >= 1.17.0-r2
Architectures: All supported architectures
Package: media-gfx/xloadimage
Vulnerable: < 4.1-r4
Unaffected: >= 4.1-r4
Architectures: All supported architectures
Description
When XLI or Xloadimage process an image, they create a new image object to contain the new image, copying the title from the old image to the newly created image. Ariel Berkman reported that the 'zoom', 'reduce', and 'rotate' functions use a fixed length buffer to contain the new title, which could be overwritten by the NIFF or XPM image processors.
Impact
A malicious user could craft a malicious XPM or NIFF file and entice a user to view it using XLI, or manipulate it using Xloadimage, potentially resulting in the execution of arbitrary code with the permissions of the user running XLI or Xloadimage.
Workaround
There is no known workaround at this time.
Resolution
All XLI users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/xli-1.17.0-r2" | All Xloadimage users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/xloadimage-4.1-r4" |
References
CAN-2005-3178
Last edited by GLSA on Sun May 07, 2006 4:59 pm; edited 1 time in total |
|