Bug 384761 (CVE-2006-7225)

Summary: CVE-2006-7225 pcre miscalculation of memory requirements for malformed Posix character class
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kasal, omoris, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.pcre.org/changelog.txt
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-11 17:26:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 380511, 380521, 380531, 380541, 411731, 413871, 414271    
Bug Blocks: 380501    
Attachments:
Description Flags
Patch agains pcre 6.4 provided by Ludwig Nussel of SUSE none

Description Tomas Hoger 2007-11-15 15:14:54 UTC
From pcre changelog, version 6.7:

18. A valid (though odd) pattern that looked like a POSIX character
    class but used an invalid character after [ (for example [[,abc,]]) caused
    pcre_compile() to give the error "Failed: internal error: code overflow" or
    in some cases to crash with a glibc free() error. This could even happen if
    the pattern terminated after [[ but there just happened to be a sequence of
    letters, a binary zero, and a closing ] in the memory that followed.

Acknowledgements:

Red Hat would like to thank Ludwig Nussel for reporting this issue.

Comment 1 Tomas Hoger 2007-11-15 15:16:21 UTC
Created attachment 259901 [details]
Patch agains pcre 6.4 provided by Ludwig Nussel of SUSE

Comment 4 Mark J. Cox 2007-11-28 10:06:55 UTC
Now public via SUSE advisory, removing embargo

Comment 9 Red Hat Product Security 2008-01-11 17:26:32 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2007-1059.html
  http://rhn.redhat.com/errata/RHSA-2007-1068.html