A buffer overflow vulnerability exists in Gpac through 1.0.1 via a malformed MP4 file in the svcparseslice function in av_parsers.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
{ "vanir_signatures": [ { "target": { "file": "src/media_tools/av_parsers.c" }, "signature_version": "v1", "id": "CVE-2021-40568-29ccc687", "digest": { "threshold": 0.9, "line_hashes": [ "271653455945834763208605817383398407567", "108141525076181077294603074563806756805", "190803646424172019847377105406717169819", "89477344314601249121963044820989003834", "290637595160814789406353695481930629703", "63844348439704388504248188721780055958", "77211956177004889184976754078166324125", "93252862727952819464823552247917341008", "210379992823712861008072287307593731924", "164007027648911898047628708525104472158", "33139317742673087143301621788696875760", "71975751562691156573789078052992987280", "242024803436346367085704818926588916010", "299823168141144608576117028597126088114", "236105253951310564318966436216071134934", "110357499185969270537647273652446008653", "305083598892664072296549753441583846912" ] }, "deprecated": false, "source": "https://github.com/gpac/gpac/commit/f1ae01d745200a258cdf62622f71754c37cb6c30", "signature_type": "Line" }, { "target": { "file": "src/media_tools/av_parsers.c", "function": "svc_parse_slice" }, "signature_version": "v1", "id": "CVE-2021-40568-48037a01", "digest": { "length": 1785.0, "function_hash": "59411885416295801732352142629685711594" }, "deprecated": false, "source": "https://github.com/gpac/gpac/commit/f1ae01d745200a258cdf62622f71754c37cb6c30", "signature_type": "Function" }, { "target": { "file": "src/media_tools/av_parsers.c", "function": "gf_bs_read_ue_log_idx3" }, "signature_version": "v1", "id": "CVE-2021-40568-e854a826", "digest": { "length": 761.0, "function_hash": "10749217417946529625503250407587877509" }, "deprecated": false, "source": "https://github.com/gpac/gpac/commit/f1ae01d745200a258cdf62622f71754c37cb6c30", "signature_type": "Function" } ] }