Skip to content
Memory corruption Write-up Advanced

CVE-2021-4102: RCE in Chromium actively being exploited

A use-after-free flaw existed in the V8 component of Chromium before version 96.0.4664.110, and Google was aware of an exploit for it in the wild. An attacker could potentially achieve remote code execution by triggering the memory corruption.

security.archlinux.org

Published on security.archlinux.org

AVG-2637 | opera | 82.0.4227.33-1 | 82.0.4227.43-1 | Critical | Fixed | |

The author, on security.archlinux.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a use-after-free in the V8 JavaScript engine, though the text does not describe the specific coding mistake.

Impact

An attacker could exploit the memory corruption, and Google was aware of reports that an exploit exists in the wild; the text does not detail the exact outcome.

What the attacker needed

Victim uses a vulnerable Chromium build

The fix

It was fixed by updating Chromium to version 96.0.4664.110 and the corresponding Opera and Vivaldi releases.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A use-after-free is a memory bug where a program keeps using a chunk of memory after it has been freed, so an attacker can try to fill that space with their own data. Here the bug was in V8, the part of Chromium that runs JavaScript, and Google said real attacks were happening. The fix was to update the browser to a newer version.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.