PCRE non-UTF-8 regular expressions denial of service
| pcre-nonutf8-dos (38274) |
Description:
The PCRE (Perl Compatible Regular Expressions) library is vulnerable to a denial of service, caused by an error in the processing of "\X?\d" and "\P{L}?\d" patterns in non-UTF-8 mode. A remote attacker could exploit this vulnerability using unspecified attack vectors to cause an application linked to the vulnerable library to crash and possibly leak portions of memory.
*CVSS:
| Base Score: | 5.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | None |
| Availability Impact: | Partial |
| Temporal Score: | 4.3 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Denial of Service
Remedy:
Upgrade to the latest version of PCRE (7.4 or later), available from the PCRE Web site. See References.
For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About Security Update 2007-009.
- Apple Web site: About Security Update 2007-009 v1.1.
- Apple Web site: About Security Update 2008-002.
- BugTraq Mailing List, Mon Dec 17 2007 - 15:47:29 CST: Apple OS X Software Update Remote Command Execution.
- PCRE Web site: PCRE - Perl Compatible Regular Expressions.
- BID-26346: PCRE Regular Expression Library Multiple Security Vulnerabilities
- CVE-2007-1661: Perl-Compatible Regular Expression (PCRE) library before 7.3 backtracks too far when matching certain input bytes against some regex patterns in non-UTF-8 mode, which allows context-dependent attackers to obtain sensitive information or cause a denial of service (crash), as demonstrated by the \X?\d and \P{L}?\d patterns.
- DSA-1399: pcre3 -- several vulnerabilities
- DSA-1570: kazehakase -- various
- GLSA-200711-30: PCRE: Multiple vulnerabilities
- GLSA-200801-02: R: Multiple vulnerabilities
- GLSA-200801-18: Kazehakase: Multiple vulnerabilities
- GLSA-200801-19: GOffice: Multiple vulnerabilities
- GLSA-200805-11: Chicken: Multiple vulnerabilities
- MDKSA-2007:211: Updated pcre packages fix vulnerability
- SA27543: PCRE Multiple Vulnerabilities
- SA28136: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA28414: R PCRE Multiple Vulnerabilities
- SA29420: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA30155: Chicken PCRE Buffer Overflow Vulnerability
- SUSE-SA:2007:062: pcre security problems
- USN-547-1: PCRE vulnerabilities
- VUPEN/ADV-2007-3725: PCRE Regular Expression Handling Code Execution and Denial of Service
- VUPEN/ADV-2007-3790: GLib Security Update Fixes PCRE Code Execution and Denial of Service
- VUPEN/ADV-2007-4238: Apple Mac OS X Code Execution and Information Disclosure Vulnerabilities
- VUPEN/ADV-2008-0924: Apple Mac OS X Command Execution and Security Bypass Issues
Platforms Affected:
- Apple Mac OS X 10.4.11
- Apple Mac OS X 10.5.2
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.5.2
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- Novell Linux Desktop 9
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell Open Enterprise Server
- Novell OpenSUSE 10.2
- Novell OpenSUSE 10.3
- Novell SLE SDK 10
- Novell SLE SDK 10 SP1
- Novell SUSE Linux Enterprise Desktop 10 SP1
- Novell SUSE Linux Enterprise Server 10 SP1
- Novell SUSE Linux Enterprise Server 10
- Novell UnitedLinux 1.0
- Philip Hazel PCRE 7.3
- SuSE Linux Enterprise Server 8
- SUSE SuSE Linux 10.0
- SUSE SuSE Linux 10.1
- SuSE SuSE Linux OpenExchange Server 4
- SuSE SuSE Linux Retail Solution 8
- SuSE SuSE Linux School Server
- SuSE SuSE Linux Standard Server 8
- SuSE SuSE SLES 9
Reported:
Nov 05, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
