XLI, Xloadimage: Buffer overflow
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200510-26 / xli xloadimage |
| Release Date |
October 30, 2005 |
| Latest Revision |
October 30, 2005: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| media-gfx/xli |
<
1.17.0-r2 |
>=
1.17.0-r2 |
All supported architectures
|
| media-gfx/xloadimage |
<
4.1-r4 |
>=
4.1-r4 |
All supported architectures
|
Related bugreports:
#108365
Synopsis
XLI and Xloadimage contain a vulnerability which could potentially result
in the execution of arbitrary code.
2.
Impact Information
Background
XLI and Xloadimage are X11 image manipulation utilities.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All XLI users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/xli-1.17.0-r2"
|
All Xloadimage users should upgrade to the latest version:
Code Listing 3.2: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/xloadimage-4.1-r4"
|
4.
References
|