Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1351070 - (CVE-2016-5769) CVE-2016-5769 php: Integer Overflows in mcrypt_generic() and mdecrypt_generic() resulting in heap overflows
CVE-2016-5769 php: Integer Overflows in mcrypt_generic() and mdecrypt_generic...
Status: CLOSED NOTABUG
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=20160623,repor...
: Security
Depends On: 1351180
Blocks: 1351183
  Show dependency treegraph
 
Reported: 2016-06-29 03:22 EDT by Andrej Nemec
Modified: 2016-10-31 09:47 EDT (History)
13 users (show)

See Also:
Fixed In Version: php 5.5.37, php 5.6.23
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-21 06:28:19 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)

  None (edit)
Description Andrej Nemec 2016-06-29 03:22:21 EDT
The mcrypt_generic() and mdecrypt_generic() functions are prone to an integer overflow, which result in heap based overflow.

Upstream bug:

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

Upstream patch:

http://git.php.net/?p=php-src.git;a=commitdiff;h=6c5211a0cef0cc2854eaa387e0eb036e012904d0

CVE assignment:

http://seclists.org/oss-sec/2016/q2/589
Comment 1 Andrej Nemec 2016-06-29 08:04:57 EDT
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1351180]
Comment 2 Fedora Update System 2016-07-02 11:27:30 EDT
php-5.6.23-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2016-07-02 15:22:19 EDT
php-5.6.23-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 2016-07-02 15:27:37 EDT
php-5.6.23-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 5 Huzaifa S. Sidhpurwala 2016-07-11 06:21:52 EDT
Analysis:

This is a integer overflow, leading to a heap based buffer overflow in the mcrypt_generic and mdecrypt_generic function. A typical attack scenario is a user supplied file, which is encrypted or decrypted by a php application.
Comment 7 Huzaifa S. Sidhpurwala 2016-07-21 06:28:19 EDT
Statement:

The versions of PHP package shipped with Red Hat Enterprise Linux, do not have support for mcrypt.

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