__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Netpbm Security Update [Red Hat RHSA-2005:793-6] October 20, 2005 17:00 GMT Number Q-027 [REVISED 28 Oct 2005] ______________________________________________________________________________ PROBLEM: A bug was found in the way netpbm converts Portable Anymap (PNM) files into Portable Network Graphics (PNG). PLATFORM: Red Hat Desktop (v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 4) DAMAGE: May allow an attacker to execute arbitrary code. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. May allow an attacker to execute arbitrary ASSESSMENT: code. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/q-027.shtml ORIGINAL BULLETIN: Red Hat RHSA-2005:793-6 https://rhn.redhat.com/errata/RHSA-2005-793.html ADDITIONAL LINK: Debian Security Advisory DSA-878-1 http://www.debian.org/security/2005/dsa-878 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2005-2978 ______________________________________________________________________________ REVISION HISTORY: 10/28/2005 – added link to Debian Security Advisory DSA-878-1. [***** Start Red Hat RHSA-2005:793-6 *****] Moderate: netpbm security update Advisory: RHSA-2005:793-6 Type: Security Advisory Issued on: 2005-10-18 Last updated on: 2005-10-18 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): CAN-2005-2978 Details Updated netpbm packages that fix a security issue are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The netpbm package contains a library of functions that support programs for handling various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. A bug was found in the way netpbm converts Portable Anymap (PNM) files into Portable Network Graphics (PNG). The usage of uninitialised variables in the pnmtopng code allows an attacker to change stack contents when converting to PNG files with pnmtopng using the '-trans' option. This may allow an attacker to execute arbitrary code. The Common Vulnerabilities and Exposures project assigned the name CAN-2005-2978 to this issue. All users of netpbm should upgrade to the updated packages, which contain a backported patch to resolve this issue. Solution Before applying this update, make sure all previously released errata relevant to your system have been applied. This update is available via Red Hat Network. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. Updated packages Red Hat Desktop (v. 4) -------------------------------------------------------------------------------- SRPMS: netpbm-10.25-2.EL4.2.src.rpm ae0626819b0a01179339e120d490081a IA-32: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-devel-10.25-2.EL4.2.i386.rpm 5b5851c61259078652fd171ab65e7612 netpbm-progs-10.25-2.EL4.2.i386.rpm afe4c2ff2d59cb768159888d2f6ab025 x86_64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.x86_64.rpm f44507fc3ad310f42533b3744075b955 netpbm-devel-10.25-2.EL4.2.x86_64.rpm 70513eb1421c8902c0a26b3f7f0847d6 netpbm-progs-10.25-2.EL4.2.x86_64.rpm 224eaff773130399e18f5c4ac1ffd20f Red Hat Enterprise Linux AS (v. 4) -------------------------------------------------------------------------------- SRPMS: netpbm-10.25-2.EL4.2.src.rpm ae0626819b0a01179339e120d490081a IA-32: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-devel-10.25-2.EL4.2.i386.rpm 5b5851c61259078652fd171ab65e7612 netpbm-progs-10.25-2.EL4.2.i386.rpm afe4c2ff2d59cb768159888d2f6ab025 IA-64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.ia64.rpm bba43fedea41665a4611964d7828fc89 netpbm-devel-10.25-2.EL4.2.ia64.rpm ac917aaf01732df6cd7ace52a63e4fd8 netpbm-progs-10.25-2.EL4.2.ia64.rpm d4d7ee8932f44ad069ad84b8f29eb44f PPC: netpbm-10.25-2.EL4.2.ppc.rpm 4d1a0548086d0624f532af83891bd98d netpbm-10.25-2.EL4.2.ppc64.rpm 1d178568eb4e966e0c7519ec178da7b1 netpbm-devel-10.25-2.EL4.2.ppc.rpm 2718f6e2461fd1ec19512aa1abfb0fd7 netpbm-progs-10.25-2.EL4.2.ppc.rpm 5a52d08ec4e8569c19dd492504a72aa4 s390: netpbm-10.25-2.EL4.2.s390.rpm 10e65ed7f3da70c4f8109b842529da3d netpbm-devel-10.25-2.EL4.2.s390.rpm 5d8cfa627fe1fa663e9dfe290445d21e netpbm-progs-10.25-2.EL4.2.s390.rpm 54f887f666c89ffd72e4b9bd9ee0208b s390x: netpbm-10.25-2.EL4.2.s390.rpm 10e65ed7f3da70c4f8109b842529da3d netpbm-10.25-2.EL4.2.s390x.rpm d990582c1eed150ebf012e3e8881c81f netpbm-devel-10.25-2.EL4.2.s390x.rpm dae664c739c3ab13d2e65cdeb21dddb2 netpbm-progs-10.25-2.EL4.2.s390x.rpm 5b560162566c65d9cc35e7a2f672e381 x86_64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.x86_64.rpm f44507fc3ad310f42533b3744075b955 netpbm-devel-10.25-2.EL4.2.x86_64.rpm 70513eb1421c8902c0a26b3f7f0847d6 netpbm-progs-10.25-2.EL4.2.x86_64.rpm 224eaff773130399e18f5c4ac1ffd20f Red Hat Enterprise Linux ES (v. 4) -------------------------------------------------------------------------------- SRPMS: netpbm-10.25-2.EL4.2.src.rpm ae0626819b0a01179339e120d490081a IA-32: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-devel-10.25-2.EL4.2.i386.rpm 5b5851c61259078652fd171ab65e7612 netpbm-progs-10.25-2.EL4.2.i386.rpm afe4c2ff2d59cb768159888d2f6ab025 IA-64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.ia64.rpm bba43fedea41665a4611964d7828fc89 netpbm-devel-10.25-2.EL4.2.ia64.rpm ac917aaf01732df6cd7ace52a63e4fd8 netpbm-progs-10.25-2.EL4.2.ia64.rpm d4d7ee8932f44ad069ad84b8f29eb44f x86_64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.x86_64.rpm f44507fc3ad310f42533b3744075b955 netpbm-devel-10.25-2.EL4.2.x86_64.rpm 70513eb1421c8902c0a26b3f7f0847d6 netpbm-progs-10.25-2.EL4.2.x86_64.rpm 224eaff773130399e18f5c4ac1ffd20f Red Hat Enterprise Linux WS (v. 4) -------------------------------------------------------------------------------- SRPMS: netpbm-10.25-2.EL4.2.src.rpm ae0626819b0a01179339e120d490081a IA-32: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-devel-10.25-2.EL4.2.i386.rpm 5b5851c61259078652fd171ab65e7612 netpbm-progs-10.25-2.EL4.2.i386.rpm afe4c2ff2d59cb768159888d2f6ab025 IA-64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.ia64.rpm bba43fedea41665a4611964d7828fc89 netpbm-devel-10.25-2.EL4.2.ia64.rpm ac917aaf01732df6cd7ace52a63e4fd8 netpbm-progs-10.25-2.EL4.2.ia64.rpm d4d7ee8932f44ad069ad84b8f29eb44f x86_64: netpbm-10.25-2.EL4.2.i386.rpm de21ea270bb9d900cc3819c8c4e7ba66 netpbm-10.25-2.EL4.2.x86_64.rpm f44507fc3ad310f42533b3744075b955 netpbm-devel-10.25-2.EL4.2.x86_64.rpm 70513eb1421c8902c0a26b3f7f0847d6 netpbm-progs-10.25-2.EL4.2.x86_64.rpm 224eaff773130399e18f5c4ac1ffd20f (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 168278 - CAN-2005-2978 Crash running pnmtopng -trans on some pnm files References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2978 Keywords pnmtopng -------------------------------------------------------------------------------- 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/ [***** End Red Hat RHSA-2005:793-6 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) Q-017: Sun Java System Application Server May Disclose Source Code of Java Server Pages Q-018: VERITAS NetBackup Java User Interface Format String Vulnerability Q-019: Lynx Security Update Q-020: Multiple Security Vulnerabilities in Mozilla Q-021: Openldap and nss_ldap Security Update Q-022: Snort 2.4.3 Released Q-023: UW-IMAP Vulnerability Q-024: Oracle Critical Patch Update - October 2005 Q-025: HP OpenView Operations and OpenView Vantage Point Java Runtime Environment (JRE) Vulnerability Q-026: GDB Security Update