Use after free in WebRTC (CVE-2024-3170)
A heap-use-after-free vulnerability was found in WebRTC's JsepTransportController when processing remote session descriptions. An attacker could potentially trigger a crash or memory corruption by sending a crafted WebRTC message.
- Fix shipped in 19 days
Detailed Report: https://clusterfuzz.com/testcase?key=5162171615346688
Fuzzer: b0ring_webidl_fuzzer Job Type: linux_asan_chrome_mp Platform Id: linux
Crash Type: Heap-use-after-free READ 8 Crash Address: 0x50d0000b05b0 Crash State: webrtc::JsepTransportController::ValidateAndMaybeUpdateBundleGroups webrtc::JsepTransportController::ApplyDescription_n webrtc::JsepTransportController::SetRemoteDescription
Sanitizer: address (ASAN)
Recommended Security Severity: High
Regressed: https://clusterfuzz.com/revisions?job=linux_asan_chrome_mp&range=960390:960394
Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5162171615346688
Issue filed automatically.
To reproduce this, please build the target in this report and run it against the reproducer testcase. Please use the GN arguments provided at bottom of this report when building the binary.
If you have trouble reproducing, please also export the environment variables listed under "[Environment]" in the crash stacktrace.
If you have any feedback on reproducing test cases, let us know at https://forms.gle/Yh3qCYFveHj6E5jz5 so we can improve.
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 use-after-free in WebRTC's JsepTransportController when validating bundle groups during remote description processing.
Impact
Could lead to a crash or potentially arbitrary code execution, though the report does not specify exploitability beyond the crash.
What the attacker needed
Crafted WebRTC message
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.
This is a memory safety bug in WebRTC, a technology for real-time communication in browsers. The program used memory after it had been freed, which can lead to crashes or potentially let an attacker run malicious code.
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.