CVE-2021-23960 Use after free in Firefox

High 8.8 Published Updated

A use-after-poison vulnerability in Firefox garbage collection allows attackers to cause a crash or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-23960?

CVE-2021-23960 is a high-severity use after free vulnerability in Mozilla Firefox, published on 26 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Performing garbage collection on re-declared JavaScript variables resulted in a user-after-poison, and a potentially exploitable crash. This vulnerability affects Firefox < 85, Thunderbird < 78.7, and Firefox ESR < 78.7.

Which versions are affected by CVE-2021-23960?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2021-23960?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-23960 being exploited?

There is no known exploitation of CVE-2021-23960 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-23960, GHSA-qvw3-rf6g-2w3x, UBUNTU-CVE-2021-23960.

Is CVE-2021-23960 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free