Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377336 - (CVE-2016-7414) CVE-2016-7414 php: Out of bounds heap read when verifying signature of zip phar in phar_parse_zipfile
CVE-2016-7414 php: Out of bounds heap read when verifying signature of zip ph...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160823,repor...
: Security
Depends On: 1377366 1554899
Blocks: 1377365
  Show dependency treegraph
 
Reported: 2016-09-19 09:04 EDT by Adam Mariš
Modified: 2018-05-03 01:05 EDT (History)
14 users (show)

See Also:
Fixed In Version: php 5.6.26, php 7.0.11
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-10-13 07:27:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1296 None None None 2018-05-03 01:05 EDT

  None (edit)
Description Adam Mariš 2016-09-19 09:04:07 EDT
An out-of-bounds heap read was found in phar_parse_zipfile due to not checking entry.uncompressed_filesize.

Upstream bug:

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

Upstream patch:

https://github.com/php/php-src/commit/0bfb970f43acd1e81d11be1154805f86655f15d5?w=1

CVE assignment:

http://seclists.org/oss-sec/2016/q3/518
Comment 1 Adam Mariš 2016-09-19 09:37:36 EDT
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1377366]
Comment 2 Huzaifa S. Sidhpurwala 2016-10-12 05:22:39 EDT
Analysis:

When a malicious phar file is read by phar_parse_zipfile() it results in a OOB read and crash.
Comment 4 errata-xmlrpc 2018-05-03 01:05:05 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296

Note You need to log in before you can comment on or make changes to this bug.