CVE Vulnerabilities

CVE-2021-40571

Double Free

Published: Jan 13, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the ilst_box_read function in box_code_apple.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Gpac Gpac 1.0.1 (including) 1.0.1 (including)
Gpac Ubuntu bionic *
Gpac Ubuntu hirsute *
Gpac Ubuntu impish *
Gpac Ubuntu kinetic *
Gpac Ubuntu lunar *
Gpac Ubuntu trusty *
Gpac Ubuntu trusty/esm *
Gpac Ubuntu xenial *

Potential Mitigations

References