Amazon Linux 2 : gd (ALAS-2021-1577)

high Nessus Plugin ID 144807

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of gd installed on the remote host is prior to 2.0.35-27. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2021-1577 advisory.

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update gd' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2021-1577.html

https://access.redhat.com/security/cve/CVE-2016-5766

Plugin Details

Severity: High

ID: 144807

File Name: al2_ALAS-2021-1577.nasl

Version: 1.4

Type: local

Agent: unix

Published: 1/8/2021

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2016-5766

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:gd-progs, p-cpe:/a:amazon:linux:gd-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:gd, p-cpe:/a:amazon:linux:gd-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/5/2021

Vulnerability Publication Date: 8/7/2016

Reference Information

CVE: CVE-2016-5766

ALAS: 2021-1577