CUPS: Stack overflow in included Xpdf code
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200501-30 / CUPS |
| Release Date |
January 22, 2005 |
| Latest Revision |
January 22, 2005: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| net-print/cups |
<
1.1.23-r1 |
>=
1.1.23-r1 |
All supported architectures
|
Related bugreports:
#78249
Synopsis
CUPS includes Xpdf code and therefore is vulnerable to the recent stack
overflow issue, potentially resulting in the remote execution of arbitrary
code.
2.
Impact Information
Background
The Common UNIX Printing System (CUPS) is a cross-platform print
spooler. It makes use of Xpdf code to handle PDF files.
Description
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All CUPS users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-print/cups-1.1.23-r1"
|
4.
References
|