Alpine: gd: security update to 2.2.5-r0

medium Tenable Cloud Security Plugin ID 404536

Description

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

- Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to
cause a denial of service via vectors related to a palette with no colors. (CVE-2017-6362)

- 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. (CVE-2017-7890)

See Also

https://security.alpinelinux.org/vuln/CVE-2017-6362

https://security.alpinelinux.org/vuln/CVE-2017-7890

Plugin Details

Severity: Medium

ID: 404536

Version: Revision 1.25

Type: Local

Published: 10/31/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: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2017-7890

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 2/14/2017

Reference Information

CVE: CVE-2017-6362, CVE-2017-7890

BID: 100836, 99492