Mandriva Linux Security Advisory : cups (MDVSA-2011:146)

medium Nessus Plugin ID 56447
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

Multiple vulnerabilities has been discovered and corrected in cups :

The cupsDoAuthentication function in auth.c in the client in CUPS before 1.4.4, when HAVE_GSSAPI is omitted, does not properly handle a demand for authorization, which allows remote CUPS servers to cause a denial of service (infinite loop) via HTTP_UNAUTHORIZED responses (CVE-2010-2432).

The LZW decompressor in the LWZReadByte function in giftoppm.c in the David Koblas GIF decoder in PBMPLUS, as used in the gif_read_lzw function in filter/image-gif.c in CUPS before 1.4.7, the LZWReadByte function in plug-ins/common/file-gif-load.c in GIMP 2.6.11 and earlier, the LZWReadByte function in img/gifread.c in XPCE in SWI-Prolog 5.10.4 and earlier, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows remote attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2895 (CVE-2011-2896).

The gif_read_lzw function in filter/image-gif.c in CUPS 1.4.8 and earlier does not properly handle the first code word in an LZW stream, which allows remote attackers to trigger a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted stream, a different vulnerability than CVE-2011-2896 (CVE-2011-3170).

Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more:
http://store.mandriva.com/product_info.php?cPath=149 products_id=490

The updated packages have been patched to correct these issues.

Solution

Update the affected packages.

Plugin Details

Severity: Medium

ID: 56447

File Name: mandriva_MDVSA-2011-146.nasl

Version: 1.9

Type: local

Published: 10/11/2011

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: cpe:2.3:o:mandriva:linux:2009.0:*:*:*:*:*:*:*, cpe:2.3:o:mandriva:linux:2010.1:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:cups:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:cups-common:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:cups-serial:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:lib64cups2:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:lib64cups2-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:libcups2:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:libcups2-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:mandriva:linux:php-cups:*:*:*:*:*:*:*

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: 10/11/2011

Reference Information

CVE: CVE-2011-2896, CVE-2011-3170, CVE-2010-2432

BID: 49148, 49323, 41126

MDVSA: 2011:146