CVE-2024-6291
📋 TL;DR
This is a use-after-free vulnerability in Swiftshader, a software renderer component of Google Chrome. It allows remote attackers to potentially exploit heap corruption via a crafted HTML page, which could lead to arbitrary code execution. All users running vulnerable versions of Chrome are affected.
💻 Affected Systems
- Google Chrome
- Chromium-based browsers
📦 What is this software?
Chrome by Google
Google Chrome is the world's most popular web browser, used by over 3 billion users globally across Windows, macOS, Linux, Android, and iOS platforms. As a Chromium-based browser developed by Google, Chrome dominates the browser market with approximately 65% market share, making it a critical compon...
Learn more about Chrome →Fedora by Fedoraproject
Fedora by Fedoraproject
⚠️ Risk & Real-World Impact
Worst Case
Remote code execution with the privileges of the Chrome process, potentially leading to full system compromise if combined with privilege escalation.
Likely Case
Browser crash (denial of service) or limited code execution within Chrome's sandbox, potentially allowing data theft or further exploitation.
If Mitigated
Browser crash with no data compromise if sandboxing holds, though memory corruption could still leak information.
🎯 Exploit Status
Use-after-free vulnerabilities typically require precise timing and memory manipulation, but Chrome's high severity rating suggests reliable exploitation is possible.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 126.0.6478.126 and later
Vendor Advisory: https://chromereleases.googleblog.com/2024/06/stable-channel-update-for-desktop_24.html
Restart Required: Yes
Instructions:
1. Open Chrome. 2. Click the three-dot menu → Help → About Google Chrome. 3. Chrome will automatically check for and apply the update. 4. Click 'Relaunch' to restart Chrome with the patched version.
🔧 Temporary Workarounds
Disable JavaScript
allPrevents exploitation since the vulnerability requires JavaScript execution via crafted HTML.
chrome://settings/content/javascript → toggle off
Disable Swiftshader
allForce hardware acceleration only, though this may break rendering on some systems.
chrome://flags/#disable-software-rasterizer → set to Enabled
🧯 If You Can't Patch
- Restrict browser usage to trusted websites only using network policies or extensions.
- Implement application whitelisting to block Chrome execution until patched.
🔍 How to Verify
Check if Vulnerable:
Check Chrome version via chrome://settings/help or 'About Google Chrome'. If version is below 126.0.6478.126, it is vulnerable.
Check Version:
On Linux/macOS: google-chrome --version. On Windows: Check in Chrome settings or via wmic where 'name like "%chrome%"' get version
Verify Fix Applied:
Confirm Chrome version is 126.0.6478.126 or higher after update and restart.
📡 Detection & Monitoring
Log Indicators:
- Chrome crash reports with Swiftshader-related modules
- Unexpected Chrome process termination in system logs
Network Indicators:
- Requests to known malicious domains serving exploit code
- Unusual outbound connections from Chrome post-crash
SIEM Query:
source="chrome_crash_logs" AND (module="swiftshader" OR error="use-after-free")
🔗 References
- https://chromereleases.googleblog.com/2024/06/stable-channel-update-for-desktop_24.html
- https://issues.chromium.org/issues/40942995
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T6OJ65HWXYSYMH55VDO6N36EOZFUNL4O/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHV5WTU27YOIBIM2CON42SHWY6J2HPRS/
- https://chromereleases.googleblog.com/2024/06/stable-channel-update-for-desktop_24.html
- https://issues.chromium.org/issues/40942995
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T6OJ65HWXYSYMH55VDO6N36EOZFUNL4O/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHV5WTU27YOIBIM2CON42SHWY6J2HPRS/