Quoting earlier research that revealed that 70% of all security issues in Chrome concern memory safety bugs, the developers listed the various approaches it could take to improve the security of the browser, including imposing a slight performance penalty on future versions if this helps make it more secure.
In a joint post, the members of the Chrome security team called application security a “cat and mouse game”, before discussing the available approaches and arguing that any practical solution would come with a slight performance hit.
We're looking at how our readers use VPNs with streaming sites like Netflix so we can improve our content and offer better advice. This survey won't take more than 60 seconds of your time, and we'd hugely appreciate if you'd share your experiences with us.
- These are the best antivirus options currently available
- Here’s our list of the best VPN services
- Take a look at our collection of the best proxy services
“In each case, we hope to eliminate a sizable fraction of our exploitable security bugs, but we also expect some performance penalty,” wrote the researchers.
In broad terms, compile-time checks, runtime checks, and using a memory safe language, are the three approaches that the developers reason could help make Chrome more secure.
In an ideal world, they say they’d have loved to make C++ safer at compile time, if it wasn’t for the design limitations of the language.
“So, we’re mostly left with options 2 and 3 - make C++ safer (but slower!) or start to use a different language. Chrome Security is experimenting with both of these approaches,” explain the developers.
The developers list MiraclePtr as one of the solutions that will play a significant role in future Chrome security initiatives.
Although the solution involves earmarking a portion of memory, which is a precious resource on a mobile device, the solution could help eliminate over half of the use-after-free bugs in the browser, according to the developers.
Rust for safety
At the same time, the team is continuing to look at how it can use a memory safe language, such as Rust, for parts of Chrome in the future.
The search giant has some experience using Rust for this purpose as its Android security team is experimenting using the language in the mobile operating system’s low-level system-code to reign in the number of Android memory-based security vulnerabilities.
“We’ve started to land limited, non-user-facing Rust experiments in the Chromium source code tree, but we’re not yet using it in production versions of Chrome - we remain in an experimental phase,” say the researchers, explaining that the use of Rust brings with it its own set of complexities.
- These are the best privacy tools for anonymous browsing
Are you a pro? Subscribe to our newsletter
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.