CVE-2021-21806 Use after free in Webkit

High 8.8 Published Updated

A use-after-free vulnerability in WebKitGTK allows remote code execution when a victim visits a malicious website.

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

CVE-2021-21806 is a high-severity use after free vulnerability in Webkitgtk Webkitgtk, published on 8 Jul 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

An exploitable use-after-free vulnerability exists in WebKitGTK browser version 2.30.3 x64. A specially crafted HTML web page can cause a use-after-free condition, resulting in remote code execution. The victim needs to visit a malicious web site to trigger the vulnerability.

Weakness: CWE-416

Which versions are affected by CVE-2021-21806?

It affects 1 product.

Products include Webkitgtk Webkitgtk.

How do I fix CVE-2021-21806?

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-21806 being exploited?

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

All Webkitgtk Webkitgtk vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-21806, GHSA-x2v5-56r3-vrw9, UBUNTU-CVE-2021-21806.

Is CVE-2021-21806 in your software?

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

Check your SBOMs for free