CVE-2021-29984 Memory corruption in Firefox

High 8.8 Published Updated

Instruction reordering during garbage collection causes memory corruption, potentially allowing attackers to execute arbitrary code or crash the browser.

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-29984?

CVE-2021-29984 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 17 Aug 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

Instruction reordering resulted in a sequence of instructions that would cause an object to be incorrectly considered during garbage collection. This led to memory corruption and a potentially exploitable crash. This vulnerability affects Thunderbird < 78.13, Thunderbird < 91, Firefox ESR < 78.13, and Firefox < 91.

Weakness: CWE-787

Which versions are affected by CVE-2021-29984?

It affects 3 products.

Linux distribution packages (1)
mozjs78 openSUSE:TumbleweedAll versions78.13.0-1.2

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

How do I fix CVE-2021-29984?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-29984 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-29984, GHSA-9qg9-jm6v-8f8r, UBUNTU-CVE-2021-29984, openSUSE-SU-2024:11059-1.

Is CVE-2021-29984 in your software?

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

Check your SBOMs for free