Alpine: multiple gd packages, libgd: security update to 2.2.5-r2 (deprecated)

medium Tenable Cloud Security Plugin ID 400387

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- gdImageClone in gd.c in libgd 2.1.0-rc2 through 2.2.5 has a NULL pointer dereference allowing attackers to
crash an application via a specific function call sequence. Only affects PHP when linked with an external
libgd (not bundled). (CVE-2018-14553)

- When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in
the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is
possible to supply data that will cause the function to use the value of uninitialized variable. This may
lead to disclosing contents of the stack that has been left there by previous code. (CVE-2019-11038)

See Also

https://git.alpinelinux.org/aports/commit/?id=3c13111f9c98ac47132ea31527bfbe9873e03f09

https://git.alpinelinux.org/aports/commit/?id=aad758e364da9a69d0d519b619cc6eb2c7d150f8

Plugin Details

Severity: Medium

ID: 400387

Version: Revision 1.27

Type: Local

Published: 8/16/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2019-11038

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/2/2020

Vulnerability Publication Date: 5/5/2019

Reference Information

CVE: CVE-2018-14553, CVE-2019-11038

BID: 108514