Bug 1260674

Summary: php: Multiple vulnerabilities related to PCRE functions
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bleanhar, ccoleman, dmcphers, fedora, jdetiber, jialiu, jkeck, jokerman, jorton, kseifried, lmeyer, mmaslano, mmccomas, rcollet, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.4.45, php 5.5.29, php 5.6.13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-13 12:21:13 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: 1260676    
Bug Blocks: 1260756    

Description Adam Mariš 2015-09-07 12:39:20 UTC
The pcre_exec() function generates a list of offsets, each consisting of a start and an end position within the subject string. Throughout the code it is often assumed that for each offset, the start position is smaller than or equal to the end position. However, certain regular expressions break this assumption. This can lead to denial-of-service, or possibly to remote code execution.

Upstream report:

https://bugs.php.net/bug.php?id=70345

Upstream patch:

http://git.php.net/?p=php-src.git;a=commit;h=03964892c054d0c736414c10b3edc7a40318b975

Comment 1 Adam Mariš 2015-09-07 12:39:50 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1260676]

Comment 2 Fedora Update System 2015-09-14 22:20:01 UTC
php-5.6.13-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-09-14 23:18:37 UTC
php-5.6.13-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2015-09-18 18:44:31 UTC
php-5.6.13-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.