GLSA-200501-30 : CUPS: Stack overflow in included Xpdf code

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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-200501-30
(CUPS: Stack overflow in included Xpdf code)

The Decrypt::makeFileKey2 function in Xpdf's Decrypt.cc
insufficiently checks boundaries when processing /Encrypt /Length tags
in PDF files (GLSA 200501-28).

Impact :

This issue could be exploited by a remote attacker to execute
arbitrary code by sending a malicious print job to a CUPS spooler.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200501-28.xml
http://www.gentoo.org/security/en/glsa/glsa-200501-30.xml

Solution :

All CUPS users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-print/cups-1.1.23-r1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16421 (gentoo_GLSA-200501-30.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0064