Vulnerability Details : CVE-2021-30022
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.
Vulnerability category: Overflow
Products affected by CVE-2021-30022
- cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-30022
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-30022
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-30022
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-30022
-
https://github.com/gpac/gpac/issues/1720
A Integer Overflow in function gf_avc_read_pps_bs_internal · Issue #1720 · gpac/gpac · GitHubExploit;Third Party Advisory
-
https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788
add safety in avc/hevc/vvc sps/pps/vps ID check - cf #1720 #1721 #1722 · gpac/gpac@51cdb67 · GitHubPatch;Third Party Advisory
Jump to