Skip to navigation

Security Advisory CUPS security update

Advisory: RHSA-2005:053-19
Type: Security Advisory
Severity: Important
Issued on: 2005-02-15
Last updated on: 2005-02-15
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
CVEs (cve.mitre.org): CVE-2004-1125
CVE-2004-1267
CVE-2004-1268
CVE-2004-1269
CVE-2004-1270
CVE-2005-0064
CVE-2005-0206

Details

Updated CUPS packages that fix several security issues are now available.

This update has been rated as having important security impact by the Red Hat
Security Response Team.

The Common UNIX Printing System provides a portable printing layer for
UNIX(R) operating systems.

During a source code audit, Chris Evans and others discovered a number of
integer overflow bugs that affected all versions of Xpdf, which also
affects CUPS due to a shared codebase. An attacker could construct a
carefully crafted PDF file that could cause CUPS to crash or possibly
execute arbitrary code when opened. This issue was assigned the name
CAN-2004-0888 by The Common Vulnerabilities and Exposures project
(cve.mitre.org). Red Hat Enterprise Linux 4 contained a fix for this issue,
but it was found to be incomplete and left 64-bit architectures vulnerable.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2005-0206 to this issue.

A buffer overflow flaw was found in the Gfx::doImage function of Xpdf which
also affects the CUPS pdftops filter due to a shared codebase. An attacker
who has the ability to send a malicious PDF file to a printer could
possibly execute arbitrary code as the "lp" user. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-1125 to this issue.

A buffer overflow flaw was found in the ParseCommand function in the
hpgltops program. An attacker who has the ability to send a malicious HPGL
file to a printer could possibly execute arbitrary code as the "lp" user.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-1267 to this issue.

A buffer overflow flaw was found in the Decrypt::makeFileKey2 function of
Xpdf which also affects the CUPS pdftops filter due to a shared codebase.
An attacker who has the ability to send a malicious PDF file to a printer
could possibly execute arbitrary code as the "lp" user. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2005-0064 to this issue.

The lppasswd utility was found to ignore write errors when modifying the
CUPS passwd file. A local user who is able to fill the associated file
system could corrupt the CUPS password file or prevent future uses of
lppasswd. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the names CAN-2004-1268 and CAN-2004-1269 to these issues.

The lppasswd utility was found to not verify that the passwd.new file is
different from STDERR, which could allow local users to control output to
passwd.new via certain user input that triggers an error message. The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-1270 to this issue.

All users of cups should upgrade to these updated packages, which contain
backported patches to resolve these issues.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied. Use Red Hat
Network to download and update your packages. To launch the Red Hat
Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

Updated packages

Red Hat Desktop (v. 4)

IA-32:
cups-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: f03c9683b85077d490b9a5d1a12dbf02
cups-devel-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 2c494e4a5db28b42289eff83235067d1
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
 
x86_64:
cups-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 1bc2ddfe634054bfad3b7f1cf77aedb4
cups-devel-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 243af656ba1608d1e333e58b39596e81
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: c3a609ed5adb389aeb835a83c251f14a
 
Red Hat Enterprise Linux AS (v. 4)

IA-32:
cups-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: f03c9683b85077d490b9a5d1a12dbf02
cups-devel-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 2c494e4a5db28b42289eff83235067d1
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
 
IA-64:
cups-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: b29b182820006775fc18004fdbb43afc
cups-devel-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 3611e17b23990951b1d61747dfe195d9
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: ca8aef782179f2027ffacc8e8309594b
 
PPC:
cups-1.1.22-0.rc1.9.6.ppc.rpm
File outdated by:  RHSA-2010:0755
    MD5: 5c208f69a019f0f2f96b851af386fc6c
cups-devel-1.1.22-0.rc1.9.6.ppc.rpm
File outdated by:  RHSA-2010:0755
    MD5: 30ad7d6e59830a0ea9c488265b605eee
cups-libs-1.1.22-0.rc1.9.6.ppc.rpm
File outdated by:  RHSA-2010:0755
    MD5: 9fb369e243e1a43806727d97b98733af
cups-libs-1.1.22-0.rc1.9.6.ppc64.rpm
File outdated by:  RHSA-2010:0755
    MD5: b0044742ecf8db6d67e8f91a94d445bf
 
s390:
cups-1.1.22-0.rc1.9.6.s390.rpm
File outdated by:  RHSA-2010:0755
    MD5: bc9eda3c1e297990bcde213b15a075f2
cups-devel-1.1.22-0.rc1.9.6.s390.rpm
File outdated by:  RHSA-2010:0755
    MD5: c31831240bcabef05ac45010a1bc72a1
cups-libs-1.1.22-0.rc1.9.6.s390.rpm
File outdated by:  RHSA-2010:0755
    MD5: 4987b5dfdb7a550d8a706da6ad6667f0
 
s390x:
cups-1.1.22-0.rc1.9.6.s390x.rpm
File outdated by:  RHSA-2010:0755
    MD5: 95afc86836c586a381c6036ad040f12e
cups-devel-1.1.22-0.rc1.9.6.s390x.rpm
File outdated by:  RHSA-2010:0755
    MD5: 5d99e8d249a023ed7d0563b0dd7f53ad
cups-libs-1.1.22-0.rc1.9.6.s390.rpm
File outdated by:  RHSA-2010:0755
    MD5: 4987b5dfdb7a550d8a706da6ad6667f0
cups-libs-1.1.22-0.rc1.9.6.s390x.rpm
File outdated by:  RHSA-2010:0755
    MD5: 3306eafd9bc433d027f6630fa7cb5613
 
x86_64:
cups-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 1bc2ddfe634054bfad3b7f1cf77aedb4
cups-devel-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 243af656ba1608d1e333e58b39596e81
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: c3a609ed5adb389aeb835a83c251f14a
 
Red Hat Enterprise Linux ES (v. 4)

IA-32:
cups-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: f03c9683b85077d490b9a5d1a12dbf02
cups-devel-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 2c494e4a5db28b42289eff83235067d1
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
 
IA-64:
cups-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: b29b182820006775fc18004fdbb43afc
cups-devel-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 3611e17b23990951b1d61747dfe195d9
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: ca8aef782179f2027ffacc8e8309594b
 
x86_64:
cups-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 1bc2ddfe634054bfad3b7f1cf77aedb4
cups-devel-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 243af656ba1608d1e333e58b39596e81
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: c3a609ed5adb389aeb835a83c251f14a
 
Red Hat Enterprise Linux WS (v. 4)

IA-32:
cups-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: f03c9683b85077d490b9a5d1a12dbf02
cups-devel-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 2c494e4a5db28b42289eff83235067d1
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
 
IA-64:
cups-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: b29b182820006775fc18004fdbb43afc
cups-devel-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 3611e17b23990951b1d61747dfe195d9
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.ia64.rpm
File outdated by:  RHSA-2010:0755
    MD5: ca8aef782179f2027ffacc8e8309594b
 
x86_64:
cups-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 1bc2ddfe634054bfad3b7f1cf77aedb4
cups-devel-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: 243af656ba1608d1e333e58b39596e81
cups-libs-1.1.22-0.rc1.9.6.i386.rpm
File outdated by:  RHSA-2010:0755
    MD5: 881ce46b1a0828bf88560372b9900d56
cups-libs-1.1.22-0.rc1.9.6.x86_64.rpm
File outdated by:  RHSA-2010:0755
    MD5: c3a609ed5adb389aeb835a83c251f14a
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

144191 - CAN-2004-1267 Bernstein cups issues (CAN-2004-1268 CAN-2004-1269 CAN-2004-1270)
144194 - CAN-2004-1125 xpdf buffer overflow
145088 - CAN-2005-0064 xpdf buffer overflow
147480 - CAN-2004-0888 xpdf issues affect cups (CAN-2005-0206)


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/