GHSL-2020-038: Use after free in Chrome WebAudio
A use-after-free vulnerability in Chrome's WebAudio component occurs when an AudioScheduledSourceHandler is posted to a task queue and its context is destroyed before the task runs, leading to a use-after-free in the renderer.
Chrome version: master branch build e577636, release build 80.3987.122 Operating System: Ubuntu 18.04
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The AudioScheduledSourceHandler posts a task to the main thread with a reference to itself, but the associated context can be destroyed before the task executes, leading to a use-after-free when the task accesses the context.
Impact
Use-after-free in the renderer, which could potentially lead to code execution or a crash.
What the attacker needed
Victim runs malicious web page
The fix
The vulnerability was fixed in Chrome version 80.0.3987.149.
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 use-after-free happens when a program frees memory but then tries to use it again, which can let an attacker run harmful code. In this case, Chrome's audio handling could free an object while a delayed task still references it, causing a crash or potential exploit.
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.