Bug 1535246 (CVE-2018-5711)

Summary: CVE-2018-5711 gd: Infinite loop in gdImageCreateFromGifCtx() in gd_gif_in.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: caolanm, databases-maint, fedora, hhorak, jorton, panovotn, rcollet, webstack-team
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 5.6.33, php 7.0.27, php 7.1.13, php 7.2.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in libgd in PHP, where an infinite loop in the GD GIF core parsing function can lead to a denial of service, a remote attacker could exploit this vulnerability to exhaust server resources by providing specially crafted GIF files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-20 18:51:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1535247, 1535944, 1554327, 1649012, 1774510, 1774511    
Bug Blocks: 1535248    

Description Laura Pardo 2018-01-16 23:16:32 UTC
A flaw was found libgd in PHP that affects all versions. An infinite loop in GD GIF core parsing function that results in a Denial of Service and exhausted the server resources.

References:
http://php.net/ChangeLog-5.php#5.6.33
https://bugs.php.net/bug.php?id=75571

Patch:
https://bugs.php.net/patch-display.php?bug=75571&patch=fix-75571&revision=1511981663

Comment 1 Laura Pardo 2018-01-16 23:17:07 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1535247]

Comment 5 errata-xmlrpc 2018-05-03 05:08:27 UTC
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

Comment 8 errata-xmlrpc 2019-08-19 08:41:00 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519

Comment 11 Product Security DevOps Team 2019-11-20 18:51:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-5711