CVE-2021-30022Integer Overflow or Wraparound in Gpac

Severity
5.5MEDIUMNVD
EPSS
0.1%
top 74.87%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 19
Latest updateMay 24

Description

There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_bs_internal in GPAC from 0.5.2 to 1.0.1. pps_id may be a negative number, so it will not return. However, avc->pps only has 255 unit, so there is an overflow, which results a crash.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

debiandebian/gpac< gpac 1.0.1+dfsg1-4 (bullseye)
Debiangpac/gpac< 1.0.1+dfsg1-4
NVDgpac/gpac0.5.21.0.1

Patches

🔴Vulnerability Details

2
GHSA
GHSA-jqgc-m9mv-xqwm: There is a integer overflow in media_tools/av_parsers2022-05-24
OSV
CVE-2021-30022: There is a integer overflow in media_tools/av_parsers2021-04-19

📋Vendor Advisories

1
Debian
CVE-2021-30022: gpac - There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_b...2021
CVE-2021-30022 — Integer Overflow or Wraparound in Gpac | cvebase