Use-after-free in Mozilla Firefox and Firefox ESR - CVE-2021-29985

 

Use-after-free in Mozilla Firefox and Firefox ESR - CVE-2021-29985

Published: August 10, 2021


Vulnerability identifier: #VU55684
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-29985
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Mozilla
Affected software:
Mozilla Firefox
Firefox ESR

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a use-after-free error in media channels within the MediaCacheStream::NotifyDataReceived method. A remote attacker can trick the victim to open a specially crafted web page, trigger a use-after-free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-29985

Install updates from vendor's website.

Sources