Files
CVEs-PoC/2021/CVE-2021-21843.md
T
2024-06-18 02:51:15 +02:00

19 lines
1.3 KiB
Markdown

### [CVE-2021-21843](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21843)
![](https://img.shields.io/static/v1?label=Product&message=GPAC&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-680%3A%20Integer%20Overflow%20to%20Buffer%20Overflow&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1297
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1297
#### Github
- https://github.com/ARPSyndicate/cvemon