CVE-2017-7890

Publication date 2 August 2017

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.

Read the notes from the security team

Status

Package Ubuntu Release Status
libgd2 17.04 zesty
Fixed 2.2.4-2ubuntu0.2
16.04 LTS xenial
Fixed 2.1.1-4ubuntu0.16.04.7
14.04 LTS trusty
Fixed 2.1.0-3ubuntu0.7
php5 17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty
Not affected
php7.0 17.04 zesty
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty Not in release
php7.1 17.04 zesty Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Notes


mdeslaur

php uses the system libgd2

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libgd2

Severity score breakdown

Parameter Value
Base score 6.5 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

Other references