Bug 1234938 (CVE-2015-4643)

Summary: CVE-2015-4643 php: integer overflow in ftp_genlist() resulting in heap overflow (improved fix for CVE-2015-4022)
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, jorton, jrusnack, mmaslano, rcollet, webstack-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: php 5.4.42, php 5.5.26, php 5.6.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-10 16:34:16 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: 1234942    
Bug Blocks: Embargoed1234941    

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:

Upstream fix:


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

Red Hat Enterprise Linux 7

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