GLSA-200806-03 : Imlib 2: User-assisted execution of arbitrary code

high Nessus Plugin ID 33118

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200806-03 (Imlib 2: User-assisted execution of arbitrary code)

Stefan Cornelius (Secunia Research) reported two boundary errors in Imlib2:
One of them within the load() function in the file src/modules/loaders/loader_pnm.c when processing the header of a PNM image file, possibly leading to a stack-based buffer overflow.
The second one within the load() function in the file src/modules/loader_xpm.c when processing an XPM image file, possibly leading to a stack-based buffer overflow.
Impact :

A remote attacker could entice a user to open a specially crafted PNM or XPM image, possibly resulting in the execution of arbitrary code with the rights of the user running the application using Imlib 2.
Workaround :

There is no known workaround at this time.

Solution

All Imlib 2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/imlib2-1.4.0-r1'

See Also

https://security.gentoo.org/glsa/200806-03

Plugin Details

Severity: High

ID: 33118

File Name: gentoo_GLSA-200806-03.nasl

Version: 1.15

Type: local

Published: 6/9/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:imlib2, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/8/2008

Reference Information

CVE: CVE-2008-2426

CWE: 119

GLSA: 200806-03