Skip to content

CVE-2017-6961 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...

MediumCVSS 5.5 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/apng2gif(Debian 12) < 1.8-0.1 1.8-0.1 Fixed
debian/apng2gif(Debian 13) < 1.8-0.1 1.8-0.1 Fixed
debian/apng2gif(Debian 14) < 1.8-0.1 1.8-0.1 Fixed
ubuntu/apng2gif(Ubuntu 20.04) < 1.8-0.1 1.8-0.1 Fixed
ubuntu/apng2gif(Ubuntu Pro 18.04) < 1.7-1ubuntu0.1~esm1; = 1.7-1 1.7-1ubuntu0.1~esm1 Fixed
apng2gif project apng2gif = 1.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/apng2gif(Debian:12) < 1.8-0.1 1.8-0.1
debian/apng2gif(Debian:13) < 1.8-0.1 1.8-0.1
debian/apng2gif(Debian:14) < 1.8-0.1 1.8-0.1
apng2gif project apng2gif = 1.7 No fix listed
ubuntu/apng2gif(Ubuntu:Pro:18.04) < 1.7-1ubuntu0.1~esm1 1.7-1ubuntu0.1~esm1
ubuntu/apng2gif(Ubuntu:Pro:18.04) = 1.7-1 No fix listed
ubuntu/apng2gif(Ubuntu:20.04) < 1.8-0.1 1.8-0.1

References