ALAS2-2021-1577


Amazon Linux 2 Security Advisory: ALAS-2021-1577
Advisory Release Date: 2021-01-05 23:34 Pacific
Advisory Updated Date: 2021-01-07 17:00 Pacific
Severity: Medium

Issue Overview:

An integer overflow, leading to a heap-based buffer overflow was found in the imagecreatefromgd2() function of PHP's gd extension. A remote attacker could use this flaw to crash a PHP application or execute arbitrary code with the privileges of the user running that PHP application, using gd via a specially crafted GD2 image. (CVE-2016-5766)


Affected Packages:

gd


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update gd to update your system.

New Packages:
aarch64:
    gd-2.0.35-27.amzn2.aarch64
    gd-progs-2.0.35-27.amzn2.aarch64
    gd-devel-2.0.35-27.amzn2.aarch64
    gd-debuginfo-2.0.35-27.amzn2.aarch64

i686:
    gd-2.0.35-27.amzn2.i686
    gd-progs-2.0.35-27.amzn2.i686
    gd-devel-2.0.35-27.amzn2.i686
    gd-debuginfo-2.0.35-27.amzn2.i686

src:
    gd-2.0.35-27.amzn2.src

x86_64:
    gd-2.0.35-27.amzn2.x86_64
    gd-progs-2.0.35-27.amzn2.x86_64
    gd-devel-2.0.35-27.amzn2.x86_64
    gd-debuginfo-2.0.35-27.amzn2.x86_64