Improper Input Validation Affecting apng2gif package, versions <1.8-0.1~deb9u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-APNG2GIF-300387
  • published17 Mar 2017
  • disclosed17 Mar 2017

Introduced: 17 Mar 2017

CVE-2017-6961  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:9 apng2gif to version 1.8-0.1~deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apng2gif package and not the apng2gif package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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.