Bug 1234938 (CVE-2015-4643) - CVE-2015-4643 php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)
Summary: CVE-2015-4643 php: integer overflow in ftp_genlist() resulting in heap overfl...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-4643
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1234942
Blocks: 1234941
TreeView+ depends on / blocked
 
Reported: 2015-06-23 14:26 UTC by Vasyl Kaigorodov
Modified: 2019-09-29 13:34 UTC (History)
6 users (show)

Fixed In Version: php 5.4.42, php 5.5.26, php 5.6.10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-10 16:34:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-06-23 14:26:42 UTC
PHP versions 5.4.42, 5.5.26, and 5.6.10 provide improved fix for CVE-2015-4022:

Improved fix for bug #69545 (Integer overflow in ftp_genlist() resulting in heap overflow).

Upstream bug:
https://bugs.php.net/bug.php?id=69545#1431550655

Upstream fix:

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

The #69545 bug was originally fixed in 5.4.41 / 5.5.25 / 5.6.9 and got CVE-2015-4022 (see bug 1223412), but the fix was found to be incomplete, as explained in the upstream bug.

Comment 1 Vasyl Kaigorodov 2015-06-23 14:35:50 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1234942]

Comment 2 Tomas Hoger 2015-07-10 16:34:16 UTC
As noted in the description, this CVE was assigned to an incomplete fix of CVE-2015-4022.  All PHP updates for Red Hat Enterprise Linux and Red Hat Software Collections that corrected the original issue CVE-2015-4022 included complete fix and hence also corrected CVE-2015-4643.  Fixes are included in the following errata:

Red Hat Enterprise Linux 6
https://rhn.redhat.com/errata/RHSA-2015-1218.html

Red Hat Enterprise Linux 7
https://rhn.redhat.com/errata/RHSA-2015-1135.html

Red Hat Software Collections
https://rhn.redhat.com/errata/RHSA-2015-1219.html  php54-php
https://rhn.redhat.com/errata/RHSA-2015-1186.html  php55-php
https://rhn.redhat.com/errata/RHSA-2015-1187.html  rh-php56-php


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