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


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (27th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2110-APNG2GIF-1753305
  • 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 Ubuntu:21.10 apng2gif to version 1.8-0.1 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 Ubuntu. See How to fix? for Ubuntu:21.10 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.