CVE-2017-5403 Use after free in Firefox
A use-after-free vulnerability in Firefox and Thunderbird allows attackers to cause a crash or potentially execute arbitrary code via crafted DOM range operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-5403?
CVE-2017-5403 is a critical use after free vulnerability in Mozilla Firefox, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
When adding a range to an object in the DOM, it is possible to use "addRange" to add the range to an incorrect root object. This triggers a use-after-free, resulting in a potentially exploitable crash. This vulnerability affects Firefox < 52 and Thunderbird < 52.
Weakness: CWE-416
Which versions are affected by CVE-2017-5403?
It affects 2 products.
Products include Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2017-5403?
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-2017-5403 being exploited?
There is no known exploitation of CVE-2017-5403 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-qqx4-4522-hc7j, UBUNTU-CVE-2017-5403.