PT-2017-3252

CVE-2017-7890

·

Published

2017-04-13

·

Updated

2024-06-15

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions GD Graphics Library versions prior to 2.2.5 PHP versions prior to 5.6.31 and 7.x prior to 7.1.7
Description The issue is related to the GIF decoding function gdImageCreateFromGifCtx in the GD Graphics Library, which does not properly initialize colorMap arrays before use. This could allow a specially crafted GIF image to read sensitive information from the stack, potentially disclosing confidential data.
Recommendations For PHP versions prior to 5.6.31, update to version 5.6.31 or later. For PHP 7.x versions prior to 7.1.7, update to version 7.1.7 or later. For GD Graphics Library versions prior to 2.2.5, update to version 2.2.5 or later. As a temporary workaround, consider restricting the use of the gdImageCreateFromGifCtx function until a patch is available.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
ALT-PU-2017-1822
CESA-2018_0406
CLSA-2020-1605798462
DLA-1055-1
DSA-3938-1
MGASA-2017-0246
OPENSUSE-SU-2017_2337-1
OPENSUSE-SU-2024:10777-1
RHSA-2018:0406
RHSA-2018_0406
RHSA-2018:1296
SUSE-SU-2017:2303-1
SUSE-SU-2017:2317-1
SUSE-SU-2017:2522-1
SUSE-SU-2020:0623-1
SUSE-SU-2020_0623-1
USN-3389-1
USN-3389-2
Found an issue in the description? Have something to add? Feel free to write us 👾