ALAS2-2023-2044

Related Vulnerabilities: CVE-2021-40145  

** DISPUTED ** gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes." (CVE-2021-40145)

ALAS2-2023-2044


Amazon Linux 2 Security Advisory: ALAS-2023-2044
Advisory Release Date: 2023-05-11 17:49 Pacific
Advisory Updated Date: 2023-05-16 15:14 Pacific
Severity: Important

Issue Overview:

** DISPUTED ** gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes." (CVE-2021-40145)


Affected Packages:

gd


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

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

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

src:
    gd-2.0.35-27.amzn2.0.1.src

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