Debian DLA-3223-1 : giflib - LTS security update

high Nessus Plugin ID 168399

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-3223 advisory.

- The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain Private->RunningCode - 2 array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
(CVE-2018-11490)

- In GIFLIB before 2019-02-16, a malformed GIF file triggers a divide-by-zero exception in the decoder function DGifSlurp in dgif_lib.c if the height field of the ImageSize data structure is equal to zero.
(CVE-2019-15133)

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 giflib packages.

For Debian 10 buster, these problems have been fixed in version 5.1.4-3+deb10u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904114

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

https://www.debian.org/lts/security/2022/dla-3223

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

https://security-tracker.debian.org/tracker/CVE-2019-15133

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

Plugin Details

Severity: High

ID: 168399

File Name: debian_DLA-3223.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/5/2022

Updated: 12/5/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2018-11490

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:giflib-tools, p-cpe:/a:debian:debian_linux:libgif-dev, p-cpe:/a:debian:debian_linux:libgif7, cpe:/o:debian:debian_linux:10.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/5/2022

Vulnerability Publication Date: 5/23/2018

Reference Information

CVE: CVE-2018-11490, CVE-2019-15133