The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the ilstboxread function in boxcodeapple.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40571.json"
[
{
"source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2021-40571-a79836d7",
"digest": {
"length": 2616.0,
"function_hash": "267599386368034517678407404425567609043"
},
"signature_type": "Function",
"target": {
"function": "gf_odf_av1_cfg_read_bs_size",
"file": "src/odf/descriptors.c"
}
},
{
"source": "https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340",
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2021-40571-f476bab8",
"digest": {
"threshold": 0.9,
"line_hashes": [
"167712747624264993690543912685537572073",
"46605784320911199798118875246953709599",
"10592338377528693664937670519065565482",
"14721782883213438859082900364656024061"
]
},
"signature_type": "Line",
"target": {
"file": "src/odf/descriptors.c"
}
}
]