Debian dla-3781 : libgd-dev - security update

high Nessus Plugin ID 193481

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3781 advisory.

- 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)

- read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file. (CVE-2021-38115)

- The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks. (CVE-2021-40812)

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

Solution

Upgrade the libgd-dev packages.

See Also

https://security-tracker.debian.org/tracker/source-package/libgd2

https://security-tracker.debian.org/tracker/CVE-2018-14553

https://security-tracker.debian.org/tracker/CVE-2021-38115

https://security-tracker.debian.org/tracker/CVE-2021-40812

https://packages.debian.org/source/buster/libgd2

Plugin Details

Severity: High

ID: 193481

File Name: debian_DLA-3781.nasl

Version: 1.0

Type: local

Agent: unix

Published: 4/18/2024

Updated: 4/18/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-40812

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

CVSS Score Source: CVE-2018-14553

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgd-dev, p-cpe:/a:debian:debian_linux:libgd-tools, p-cpe:/a:debian:debian_linux:libgd3, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/7/2024

Vulnerability Publication Date: 2/11/2020

Reference Information

CVE: CVE-2018-14553, CVE-2021-38115, CVE-2021-40812