CVE-2017-6961: Input Validation
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 readchunk function using the pChunk->size value (within the PNG file) to determine the amount of memory to allocate.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/apng2gifto a version that resolves this vulnerability.Fixed in 1.8-0.1Fixed in 1.8-2Fixed in 1.8-4Fixed in 1.8-5 - Upgrade
Upgrade
ubuntu/apng2gifto a version that resolves this vulnerability.Fixed in 1.7-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/apng2gifto a version that resolves this vulnerability.Fixed in 1.8-0.1
Event History
Frequently Asked Questions
Who is realistically exposed to exploitation?
Exposure requires a local attacker or a user who processes an attacker-controlled PNG file with apng2gif. The CVSS vector indicates no privileges are required, but user interaction is required.
How can I check whether an installation is identified as affected?
The issue is reported in apng2gif version 1.7. Verify the installed apng2gif version; the provided data does not establish the status of other versions.