Vulnerability Details : CVE-2021-40574
Potential exploit
The binary MP4Box in Gpac from 0.9.0-preview to 1.0.1 has a double-free vulnerability in the gf_text_get_utf8_line function in load_text.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2021-40574
- cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-40574
0.39%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-40574
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2021-40574
-
The product calls free() twice on the same memory address.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-40574
-
https://www.debian.org/security/2023/dsa-5411
Debian -- Security Information -- DSA-5411-1 gpac
-
https://github.com/gpac/gpac/issues/1897
System abort (Core dumped) caused by buffer overflow using MP4Box in gf_text_get_utf8_line · Issue #1897 · gpac/gpac · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L304
gpac/src/filters/load_text.c at v0.9.0-preview · gpac/gpac · GitHub
-
https://github.com/gpac/gpac/blob/v0.9.0-preview/src/filters/load_text.c#L232
-
https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
fixed #1897 · gpac/gpac@30ac5e5 · GitHubPatch;Third Party Advisory
Jump to