Bug 1314873

Summary: php: Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abhgupta, carnil, dmcphers, fedora, jialiu, jokerman, jorton, kseifried, lmeyer, mmaslano, mmccomas, rcollet, tiwillia, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.6.19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-13 19:58:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1314886    
Bug Blocks: 1315348    

Description Adam Mariš 2016-03-04 18:00:23 UTC
It was found that copied handle yielded by curl_copy_handle() with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec() running, causing esgmentation fault in libcurl.

Upstream bug:

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

Upstream patch:

https://git.php.net/?p=php-src.git;a=commit;h=5fdfab743d964bb13602effc9efcd6f747e2f58c

Comment 1 Adam Mariš 2016-03-04 18:25:50 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1314886]

Comment 2 Tomas Hoger 2016-06-13 19:58:07 UTC
This is not a security bug.