Debian DLA-2911-1 : apng2gif - LTS security update

high Nessus Plugin ID 157397

Synopsis

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

Description

The remote Debian 9 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-2911 advisory.

- An issue was discovered in apng2gif 1.7. There is an integer overflow resulting in a heap-based buffer over-read, related to the load_apng function and the imagesize variable. (CVE-2017-6960)

- An issue was discovered in apng2gif 1.7. There is improper sanitization of user input causing huge memory allocations, resulting in a crash. This is related to the read_chunk function using the pChunk->size value (within the PNG file) to determine the amount of memory to allocate. (CVE-2017-6961)

- An issue was discovered in apng2gif 1.7. There is an integer overflow resulting in a heap-based buffer overflow. This is related to the read_chunk function making an unchecked addition of 12. (CVE-2017-6962)

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

Solution

Upgrade the apng2gif packages.

For Debian 9 stretch, these problems have been fixed in version 1.8-0.1~deb9u1.

See Also

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

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

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

https://security-tracker.debian.org/tracker/CVE-2017-6960

https://security-tracker.debian.org/tracker/CVE-2017-6961

https://security-tracker.debian.org/tracker/CVE-2017-6962

https://packages.debian.org/source/stretch/apng2gif

Plugin Details

Severity: High

ID: 157397

File Name: debian_DLA-2911.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/5/2022

Updated: 2/5/2022

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2017-6962

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:apng2gif, cpe:/o:debian:debian_linux:9.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: 2/4/2022

Vulnerability Publication Date: 3/17/2017

Reference Information

CVE: CVE-2017-6960, CVE-2017-6961, CVE-2017-6962