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

high Nessus Plugin ID 16421

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200501-28

https://security.gentoo.org/glsa/200501-30

Plugin Details

Severity: High

ID: 16421

File Name: gentoo_GLSA-200501-30.nasl

Version: 1.22

Type: local

Published: 2/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 1/22/2005

Reference Information

CVE: CVE-2005-0064

GLSA: 200501-30