CVE-2021-30022
published 2021-04-19CVE-2021-30022: 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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.07%
61.4th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gpac | < gpac 1.0.1+dfsg1-4 (bullseye) | gpac 1.0.1+dfsg1-4 (bullseye) |
| gpac | gpac | >= 0 < 1.0.1+dfsg1-4 | 1.0.1+dfsg1-4 |
| gpac | gpac | 0.5.2 – 1.0.1 | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-jqgc-m9mv-xqwm: There is a integer overflow in media_tools/av_parsers
ghsa_unreviewed·2022-05-24
CVE-2021-30022 [MEDIUM] CWE-190 GHSA-jqgc-m9mv-xqwm: There is a integer overflow in media_tools/av_parsers
There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_bs_internal in GPAC 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.
OSV
CVE-2021-30022: There is a integer overflow in media_tools/av_parsers
osv·2021-04-19·CVSS 5.5
CVE-2021-30022 [MEDIUM] CVE-2021-30022: There is a integer overflow in media_tools/av_parsers
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.
Debian
CVE-2021-30022: gpac - There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_b...
vendor_debian·2021·CVSS 5.5
CVE-2021-30022 [MEDIUM] CVE-2021-30022: gpac - There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_b...
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.
Scope: local
bullseye: resolved (fixed in 1.0.1+dfsg1-4)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/gpac/gpac/blob/v0.5.2/src/media_tools/av_parsers.c#L2344https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788https://github.com/gpac/gpac/issues/1720https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788https://github.com/gpac/gpac/issues/1720
2021-04-19
Published