Mandrake Linux Security Advisory : imlib2 (MDKSA-2006:198-1)

medium Nessus Plugin ID 24583

Synopsis

The remote Mandrake Linux host is missing one or more security updates.

Description

M Joonas Pihlaja discovered several vulnerabilities in the Imlib2 graphics library.

The load() function of several of the Imlib2 image loaders does not check the width and height of an image before allocating memory. As a result, a carefully crafted image file can trigger a segfault when an application using Imlib2 attempts to view the image. (CVE-2006-4806)

The tga loader fails to bounds check input data to make sure the input data doesn't load outside the memory mapped region. (CVE-2006-4807)

The RLE decoding loops of the load() function in the tga loader does not check that the count byte of an RLE packet doesn't cause a heap overflow of the pixel buffer. (CVE-2006-4808)

The load() function of the pnm loader writes arbitrary length user data into a fixed size stack allocated buffer buf[] without bounds checking. (CVE-2006-4809) Updated packages have been patched to correct these issues.

Update :

An error in the previous patchset may affect JPEG image handling for certain valid images. This new update corrects this issue.

Solution

Update the affected packages.

Plugin Details

Severity: Medium

ID: 24583

File Name: mandrake_MDKSA-2006-198.nasl

Version: 1.17

Type: local

Published: 2/18/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4.4

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:imlib2-data, p-cpe:/a:mandriva:linux:lib64imlib2_1, p-cpe:/a:mandriva:linux:lib64imlib2_1-devel, p-cpe:/a:mandriva:linux:lib64imlib2_1-filters, p-cpe:/a:mandriva:linux:lib64imlib2_1-loaders, p-cpe:/a:mandriva:linux:libimlib2_1, p-cpe:/a:mandriva:linux:libimlib2_1-devel, p-cpe:/a:mandriva:linux:libimlib2_1-filters, p-cpe:/a:mandriva:linux:libimlib2_1-loaders, cpe:/o:mandriva:linux:2006, cpe:/o:mandriva:linux:2007

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/6/2006

Reference Information

CVE: CVE-2006-4806, CVE-2006-4807, CVE-2006-4808, CVE-2006-4809

BID: 20903

MDKSA: 2006:198-1