Integer Overflow or Wraparound Affecting gpac package, versions <1.0.1+dfsg1-4+deb11u1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.24% (64th 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-DEBIAN11-GPAC-1567682
  • published20 Aug 2021
  • disclosed25 Aug 2021

Introduced: 20 Aug 2021

CVE-2021-21848  (opens in a new tab)
CWE-190  (opens in a new tab)

How 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.

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The library will actually reuse the parser for atoms with the “stsz” FOURCC code when parsing atoms that use the “stz2” FOURCC code and can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. An attacker can convince a user to open a video to trigger this vulnerability.

CVSS Scores

version 3.1