Bug 428320 (CVE-2008-0172)

Summary: CVE-2008-0172 boost regular expression NULL dereference flaw
Product: [Other] Security Response Reporter: Josh Bressers <bressers>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bkoz, jlieskov, mpolacek, mtakahashi, pmachata, security-response-team, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 09:28:02 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: 428974, 428975, 428976, 537842, 766755    
Bug Blocks: 742493    
Attachments:
Description Flags
patch
none
boost spec file
none
Fix for 1.33.1 none

Description Josh Bressers 2008-01-10 20:05:18 UTC
Will Drewry discovered a flaw in boost's regular expression library where a
crafted regular expression can trigger a NULL dereference flaw.

Comment 9 Benjamin Kosnik 2008-01-14 21:37:24 UTC
Created attachment 291643 [details]
patch


from boost svn

Comment 10 Benjamin Kosnik 2008-01-14 21:38:11 UTC
Created attachment 291644 [details]
boost spec file


for boost-1.34.1.-6

Comment 12 Tomas Hoger 2008-01-15 13:13:21 UTC
> Looks like this is the fix:
> http://lists.boost.org/boost-commit/2008/01/5400.php

Which is: http://svn.boost.org/trac/boost/changeset/42674

Additional fix for the test suite: http://svn.boost.org/trac/boost/changeset/42745

Comment 14 Tomas Hoger 2008-01-16 15:18:22 UTC
Lifting embargo, upstream SVN commits are publicly available.

Comment 16 Petr Machata 2008-01-16 20:41:24 UTC
Created attachment 291890 [details]
Fix for 1.33.1

The example regexes from the reproducer all unambiguously SIGSEGV boost_regex,
with or without the patch in file 291643.  This patch contains one additional
change that fixes this.  I checked that it introduces no new regressions, and
that with this patch, reproducer testcases all throw exception as they should.

Comment 17 Petr Machata 2008-01-16 20:44:39 UTC
(The patch from comment #16 is relevant for boost distributed with RHEL-5 as
well as Fedora 7.  Fedora build is spinning right now, taskID=353614.)

Comment 18 Fedora Update System 2008-01-22 15:30:58 UTC
boost-1.34.1-7.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update boost'

Comment 19 Fedora Update System 2008-03-13 07:49:09 UTC
boost-1.34.1-7.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Vincent Danen 2010-11-15 19:21:00 UTC
Statement:

This issue did not affect the version of boost as shipped with Red Hat Enterprise Linux 4 and 6. This issue was addressed in boost packages in Red Hat Enterprise Linux 5 via RHSA-2012:0305.

Comment 25 Murray McAllister 2012-01-20 00:02:38 UTC
Acknowledgements:

Red Hat would like to thank Will Drewry for reporting these issues.

Comment 27 errata-xmlrpc 2012-02-21 03:15:50 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:0305 https://rhn.redhat.com/errata/RHSA-2012-0305.html