PCRE character class buffer overflow
| pcre-characterclass-bo (40505) |
Description:
The PCRE (Perl Compatible Regular Expressions) library is vulnerable to a buffer overflow, caused by improper bounds checking when processing character classes. By sending an overly long character class containing codepoints larger than 255, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application using the affected library to crash.
*CVSS:
| Base Score: | 7.5 |
| Access Vector: | Network |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5.5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of PCRE (7.6 or later), available from the PCRE Web site. See References.
For other distributions:
Apply the appropriate upgrade for your system. See References.
References:
- Apple Web site: About Security Update 2008-005.
- Apple Web site: About Security Update 2008-007 .
- Apple Web site: About Security Update 2009-003.
- GNOME FTP site: Overview of Changes from GLib 2.14.5 to GLib 2.14.6.
- PCRE Web site: ChangeLog for PCRE - Version 7.6 28-Jan-08.
- BID-27786: PCRE Character Class Buffer Overflow Vulnerability
- BID-29009: PHP 5.2.5 and Prior Versions Multiple Vulnerabilities
- BID-31681: RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
- CVE-2008-0674: Buffer overflow in PCRE before 7.6 allows remote attackers to execute arbitrary code via a regular expression containing a character class with a large number of characters with Unicode code points greater than 255.
- DSA-1499: pcre3 -- buffer overflow
- GLSA-200811-05: PHP: Multiple vulnerabilities
- MDVSA-2008:053: Updated pcre packages fix vulnerability
- SA28923: PCRE Character Class Buffer Overflow
- SA28985: GNOME GLib PCRE Character Class Buffer Overflow
- SA30048: PHP Multiple Vulnerabilities
- SA31326: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA32222: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA36096: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1022674: Mac OS X Multiple Image and File Processing Bugs Permit Remote Code Execution
- SUSE-SR:2008:004: SUSE Security Summary Report
- USN-581-1: PCRE vulnerability
- VUPEN/ADV-2008-0570: PCRE Character Class Codepoints UTF-8 Buffer Overflow Vulnerability
- VUPEN/ADV-2008-0592: GNOME GLib Security Update Fixes PCRE Buffer Overflow Vulnerability
- VUPEN/ADV-2008-1412: PHP Multiple Buffer Overflow and Restriction Bypass Vulnerabilities
- VUPEN/ADV-2008-2268: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
- VUPEN/ADV-2008-2780: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
- VUPEN/ADV-2009-2172: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.4
- Apple Mac OS X 10.4.1
- Apple Mac OS X 10.4.10
- Apple Mac OS X 10.4.11
- Apple Mac OS X 10.4.2
- Apple Mac OS X 10.4.3
- Apple Mac OS X 10.4.4
- Apple Mac OS X 10.4.5
- Apple Mac OS X 10.4.6
- Apple Mac OS X 10.4.7
- Apple Mac OS X 10.4.8
- Apple Mac OS X 10.4.9
- Apple Mac OS X 10.5.0
- Apple Mac OS X 10.5.1
- Apple Mac OS X 10.5.2
- Apple Mac OS X 10.5.3
- Apple Mac OS X 10.5.4
- Apple Mac OS X 10.5.5
- Apple Mac OS X 10.5.6
- Apple Mac OS X 10.5.7
- Apple Mac OS X Server 10.4
- Apple Mac OS X Server 10.4.1
- Apple Mac OS X Server 10.4.10
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.4.2
- Apple Mac OS X Server 10.4.3
- Apple Mac OS X Server 10.4.4
- Apple Mac OS X Server 10.4.5
- Apple Mac OS X Server 10.4.6
- Apple Mac OS X Server 10.4.7
- Apple Mac OS X Server 10.4.8
- Apple Mac OS X Server 10.4.9
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Apple Mac OS X Server 10.5.2
- Apple Mac OS X Server 10.5.3
- Apple Mac OS X Server 10.5.4
- Apple Mac OS X Server 10.5.5
- Apple Mac OS X Server 10.5.6
- Apple Mac OS X Server 10.5.7
- 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
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- Philip Hazel PCRE prior to 7.6
Reported:
Jan 28, 2008
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.
