__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN PCRE Security Update [Red Hat RHSA-2007:1059-9] December 3, 2007 14:00 GMT Number S-064 [REVISED 14 Dec 2007] [REVISED 8 May 2008] ______________________________________________________________________________ PROBLEM: Flaws were discovered in the way PCRE handles certain malformed regular expressions. PLATFORM: RHEL Desktop Workstation (v. 5 client) Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) Red Hat Desktop (v. 3, v. 4) Red Hat Enterprise Linux As, ES, WS (v. 3, v. 4) Debian GNU/Linux 4.0 (etch) DAMAGE: It may be possible to run arbitrary code as the user running the application. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is LOW. If an application linked against PCRE, such as ASSESSMENT: Konqueror, parses a malicious regular expression, it may have been possible to run arbitrary code as the user running the application. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/s-064.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2007-1059.html ADDITIONAL LINK: https://rhn.redhat.com/errata/RHSA-2007-1076.html http://www.debian.org/security/2008/dsa-1570 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-7225 CVE-2006-7226 CVE-2006-7228 CVE-2006-7230 ______________________________________________________________________________ REVISION HISTORY: 12/14/2007 - revised S-064 to add a link to Red Hat RHSA-2007:1076-6 for Red Hat Desktop (v. 3, v. 4), Red Hat Enterprise Linux As, ES, WS (v. 3, v. 4). 05/08/2008 - revised S-064 to add a link to Debian Security Advisory DSA-1570-1 for Debian GNU/Linux 4.0 (etch). [***** Start Red Hat RHSA-2007:1059-9 *****] Important: pcre security update Advisory: RHSA-2007:1059-9 Type: Security Advisory Severity: Important Issued on: 2007-11-29 Last updated on: 2007-11-29 Affected Products: RHEL Desktop Workstation (v. 5 client) Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) OVAL: com.redhat.rhsa-20071059.xml CVEs (cve.mitre.org): CVE-2006-7225 CVE-2006-7226 CVE-2006-7228 CVE-2006-7230 Details Updated pcre packages that resolve several security issues are now available for Red Hat Enterprise Linux 5. This update has been rated as having important security impact by the Red Hat Security Response Team. PCRE is a Perl-compatible regular expression library. Flaws were discovered in the way PCRE handles certain malformed regular expressions. If an application linked against PCRE, such as Konqueror, parses a malicious regular expression, it may have been possible to run arbitrary code as the user running the application. (CVE-2006-7225, CVE-2006-7226, CVE-2006-7228, CVE-2006-7230) Users of PCRE are advised to upgrade to these updated packages, which contain backported patches to resolve these issues. Red Hat would like to thank Ludwig Nussel for reporting these issues. Solution Before applying this update, make sure that all previously-released errata relevant to your system have been applied. This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at http://kbase.redhat.com/faq/FAQ_58_10188 Updated packages RHEL Desktop Workstation (v. 5 client) -------------------------------------------------------------------------------- IA-32: pcre-devel-6.6-2.el5_1.7.i386.rpm a28a9ee687328bc25eb01588c8738784 x86_64: pcre-devel-6.6-2.el5_1.7.i386.rpm a28a9ee687328bc25eb01588c8738784 pcre-devel-6.6-2.el5_1.7.x86_64.rpm b9f543c695ad7d8141a5c2fd80692981 Red Hat Enterprise Linux (v. 5 server) -------------------------------------------------------------------------------- SRPMS: pcre-6.6-2.el5_1.7.src.rpm 7cc3f071a95e8dabeae35ea9bb35bf44 IA-32: pcre-6.6-2.el5_1.7.i386.rpm d201068ae3b6af398aad8e3fedd2875e pcre-devel-6.6-2.el5_1.7.i386.rpm a28a9ee687328bc25eb01588c8738784 IA-64: pcre-6.6-2.el5_1.7.ia64.rpm 7d60719573aecd2222867ddbe66bbe6c pcre-devel-6.6-2.el5_1.7.ia64.rpm df733a18eee9d49b391b21e048eee94f PPC: pcre-6.6-2.el5_1.7.ppc.rpm 12d9ca99b5c09e31a4945526dc22e881 pcre-6.6-2.el5_1.7.ppc64.rpm 955028fb20133c35e15d4ca6036ba226 pcre-devel-6.6-2.el5_1.7.ppc.rpm 6858d1c5a378e8957e1dba0d2d18850c pcre-devel-6.6-2.el5_1.7.ppc64.rpm 72331b7d69a6f8ae26dff73b3529bc71 s390x: pcre-6.6-2.el5_1.7.s390.rpm 4d7d135ce1ad2cb90de046aa30091e13 pcre-6.6-2.el5_1.7.s390x.rpm b0c3c10df3700779b4196686e6724b54 pcre-devel-6.6-2.el5_1.7.s390.rpm 6e24bad9004f1803d75c7de2de5d5512 pcre-devel-6.6-2.el5_1.7.s390x.rpm 8f07ac7aee4d20b28aa8ebe5e0203d55 x86_64: pcre-6.6-2.el5_1.7.i386.rpm d201068ae3b6af398aad8e3fedd2875e pcre-6.6-2.el5_1.7.x86_64.rpm 408ac25d3001d6df1e1a1373b70efe74 pcre-devel-6.6-2.el5_1.7.i386.rpm a28a9ee687328bc25eb01588c8738784 pcre-devel-6.6-2.el5_1.7.x86_64.rpm b9f543c695ad7d8141a5c2fd80692981 Red Hat Enterprise Linux Desktop (v. 5 client) -------------------------------------------------------------------------------- SRPMS: pcre-6.6-2.el5_1.7.src.rpm 7cc3f071a95e8dabeae35ea9bb35bf44 IA-32: pcre-6.6-2.el5_1.7.i386.rpm d201068ae3b6af398aad8e3fedd2875e x86_64: pcre-6.6-2.el5_1.7.i386.rpm d201068ae3b6af398aad8e3fedd2875e pcre-6.6-2.el5_1.7.x86_64.rpm 408ac25d3001d6df1e1a1373b70efe74 (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 383371 - CVE-2006-7228 pcre integer overflow 384761 - CVE-2006-7225 pcre miscalculation of memory requirements for malformed Posix character class 384781 - CVE-2006-7226 pcre miscalculation of memory requirements for repeated subpattern containing a named recursion or subroutine reference 384801 - CVE-2006-7230 pcre miscalculation of memory requirements if options are changed during pattern compilation References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-7225 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-7226 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-7228 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-7230 http://www.redhat.com/security/updates/classification/#important -------------------------------------------------------------------------------- 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-2007:1059-9 *****] _______________________________________________________________________________ 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) S-054: Vulnerability in DNS S-055: HP OpenView Operations (OVO) Running on HP-UX and Solaris Vulnerability S-056: Apple Security Update 2007-008 S-057: Samba Security Update S-058: HP-UX Running Java JRE and JDK S-059: util-linux Security Update S-060: Apple QuickTime RTSP Content-Type Vulnerability S-061: IBM Director Vulnerability S-062: HP-UX Running HP Secure Shell Vulnerability S-063: Cairo Security Update