Integer Overflow or Wraparound Affecting gpac package, versions <1.0.1+dfsg1-4+deb11u1
Threat Intelligence
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 ID SNYK-DEBIAN11-GPAC-1567641
- published 20 Aug 2021
- disclosed 18 Aug 2021
Introduced: 18 Aug 2021
CVE-2021-21843 Open this link in a new tabHow to fix?
Upgrade Debian:11
gpac
to version 1.0.1+dfsg1-4+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream gpac
package and not the gpac
package as distributed by Debian
.
See How to fix?
for Debian:11
relevant fixed versions and status.
Multiple exploitable integer overflow vulnerabilities exist within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. After validating the number of ranges, at [41] the library will multiply the count by the size of the GF_SubsegmentRangeInfo structure. On a 32-bit platform, this multiplication can result in an integer overflow causing the space of the array being allocated to be less than expected. An attacker can convince a user to open a video to trigger this vulnerability.