Nearly all Chrome 67 users now have anti-Spectre defences on
- 12 July, 2018 15:59
Google recently rolled out Chrome 67, and has now revealed this version of the Google browse significantly expands the use of site isolation, one of the key mitigations for web-based Spectre CPU speculative execution attacks that were revealed in January.
Site isolation, which runs one site per process, remains in trial phase for now but Google has with Chrome 67 rolled it out to 99 percent of users. That’s despite it being unable to eradicate the higher memory usage it caused — of between 10 to 20 percent when it first introduced it as an option for some users in Chrome 63 in December, just before the Meltdown and Spectre bugs were publicly disclosed.
The project page and current status is available here and explains that Chrome engineers are attempting to address higher memory usage caused by additional renderer processes. This can happen when many tabs are opened. For a more detailed explanation of why Google chose to work on site isolation for over a decade Justin Schuh, the engineering lead for Chrome Security has the answers.
Despite some remaining memory overheads, the Chrome team has decided its stable enough for most users to roll it out to 99 percent of Chrome 67 users on Windows, Mac, Linux and and Chrome OS. Previously it was gradually expanding the feature.
“When Site Isolation is enabled, each renderer process contains documents from at most one site. This means all navigations to cross-site documents cause a tab to switch processes. It also means all cross-site iframes are put into a different process than their parent frame, using "out-of-process iframes." Splitting a single page across multiple processes is a major change to how Chrome works, and the Chrome Security team has been pursuing this for several years, independently of Spectre
There are pros and cons to Google’s approach to site isolation. Each renderer process is smaller and short lived, but Google hasn’t figured out how to cut down the memory overhead below 10 percent, the lower limit where it was in Chrome 63 due to the larger number of processes. in Chrome 66 it was between 10 to 13 percent.
Either way, Google argues that if a Spectre attack on Chrome were to ever occur — and none has happened yet —the threat wold be significantly educed.
The next stage if work on site isolation will focus on bringing the mitigation to Android, Enterprise admins can use experimental polices for doing this in the forthcoming Chrome 68 on Android via chrome://flags/#enable-site-per-process.