Skip to content
Race condition Advisory Advanced CVE-2022-22021

Microsoft Edge (Chromium-based) Remote Code Execution Vulnerability (CVE-2022-22021)

A race condition in Microsoft Edge (Chromium-based) could allow an attacker to escape the browser sandbox and execute code. An attacker could host a specially crafted website and convince a user to visit it to trigger the vulnerability.

David Erceg Follow

Originally disclosed on Microsoft

Medium 8.3 View original

FAQ

Why is the severity for this CVE rated as Moderate, but the CVSS score is higher than normal? Per our severity guidelines , the amount of user interaction or preconditions required to allow this sort of exploitation downgraded the severity, specifically it says, "If a bug requires more than a click, a key press, or several preconditions, the severity will be downgraded". The CVSS scoring system doesn't allow for this type of nuance.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? This vulnerability could lead to a browser sandbox escape.

FAQ

How could an attacker exploit this vulnerability via the Network? An attacker could host a specially crafted website designed to exploit the vulnerability through Microsoft Edge and then convince a user to view the website. However, in all cases an attacker would have no way to force a user to view the attacker-controlled content. Instead, an attacker would have to convince a user to take action, typically by an enticement in an email or instant message, or by getting the user to open an attachment sent through email.

FAQ

What is the version information for this release? Microsoft Edge Version Date Released Based on Chromium Version 102.0.1245.39 6/9/2022 102.0.5005.61

Microsoft Edge (Chromium-based)

Microsoft Edge (Chromium-based)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by David Erceg. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

How it worked

Root cause

Likely a race condition in the browser's sandbox implementation that can be won to escape the sandbox.

Impact

An attacker could escape the browser sandbox and potentially execute code, but exploitation requires winning a race condition and convincing a user to visit a malicious website.

What the attacker needed

Victim visits a malicious website; attacker wins a race condition

The fix

The vulnerability was fixed in Microsoft Edge version 102.0.1245.39.

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 report has not been written yet. The Original tab links to the source.

A race condition is a timing flaw where two actions happen at once and the program gets confused. Here, a malicious website could exploit this confusion to break out of the browser's protective sandbox, which normally keeps web pages isolated from the rest of the computer. The attacker must trick a user into visiting the site, and winning the race is difficult.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by David Erceg

View all

65 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.