Connect with us

Tech

Google Chrome adds V8 sandbox

Google Chrome adds V8 sandbox

 


April 8, 2024Newsroom Software Security / Cybersecurity

Google has announced support for the so-called V8 sandbox in its Chrome web browser to address memory corruption issues.

According to V8 Security technical lead Samuel Gro, the sandbox is intended to prevent “V8 memory corruption from spreading within the host process.”

The search giant described V8 Sandbox as a lightweight in-process sandbox for JavaScript and WebAssembly engines designed to mitigate common V8 vulnerabilities.

The idea is to limit the impact of V8 vulnerabilities by restricting the code executed by V8 to a subset of the process's virtual address space (the “sandbox”) and isolating it from the rest of the process.

A significant portion of the zero-day vulnerabilities that Google addressed from 2021 to 2023 were due to flaws affecting V8, with 16 security flaws discovered during this period.

“Because this primitive can be built from typical V8 vulnerabilities, the sandbox assumes that an attacker can arbitrarily and simultaneously modify memory within the sandbox address space,” the Chromium team said.

“Additionally, it is assumed that an attacker can read memory outside the sandbox, such as through hardware side channels. The sandbox protects the rest of the process from such an attacker. Therefore, memory outside the sandbox address space is considered a sandbox violation.”

Gro believes that “subtle logic issues” can be exploited to corrupt memory, so switching to memory-safe languages ​​like Rust or hardware memory-safe approaches like memory tagging can help. , highlighted the challenges of addressing V8 vulnerabilities. use-after-free, out-of-bounds access, etc.

“Nearly all vulnerabilities discovered and exploited in V8 today have one thing in common: the compiler and runtime operate (almost) exclusively on V8 HeapObject instances, so the final “Memory corruption inevitably occurs within the V8 heap,” Gro said.

Considering that these issues cannot be protected against with the same techniques used for general memory corruption vulnerabilities, the V8 Sandbox is designed to isolate heap memory in V8 and protect against memory corruption. Even if this occurs, you cannot escape security restrictions on other parts of the process. “memory.

This is achieved by replacing all data types that can access memory outside the sandbox with “sandbox compatible” alternatives, effectively preventing attackers from accessing other memory. Sandboxing can be enabled by setting 'v8_enable_sandbox' to true in the gn argument.

Speedometer and JetStream benchmark results show that this security feature adds approximately 1% overhead to typical workloads and can be enabled by default starting in Chrome version 123 and across Android, ChromeOS, Linux, macOS, and Windows. I am.

“The V8 sandbox requires a 64-bit system because it requires a large amount of virtual address space to be reserved, currently 1 terabyte,” Gro said.

“Sandboxing is motivated by the fact that current memory safety techniques are largely inapplicable to optimizing JavaScript engines. These techniques cannot prevent memory corruption in V8 itself, but in practice V8 Sandboxing It allows you to protect your attack surface, so a sandbox is essential. It's a step toward memory safety.”

This development highlights the role that Kernel Address Sanitizer (KASan) plays in detecting memory bugs in native code and strengthening the security of Android firmware, with Google using compiler-based tools to detect over 40 bugs. This was done in response to the addition.

“Using KASan-enabled builds during testing and fuzzing helps discover memory corruption vulnerabilities and stability issues before they reach users' devices,” said Eugene Rodionov and Ivan Lozano from the Android team. ” states.

Did you enjoy this article? Follow us on Twitter  and LinkedIn to read more exclusive content from us.

Sources

1/ https://Google.com/

2/ https://thehackernews.com/2024/04/google-chrome-adds-v8-sandbox-new.html

The mention sources can contact us to remove/changing this article

What Are The Main Benefits Of Comparing Car Insurance Quotes Online

LOS ANGELES, CA / ACCESSWIRE / June 24, 2020, / Compare-autoinsurance.Org has launched a new blog post that presents the main benefits of comparing multiple car insurance quotes. For more info and free online quotes, please visit https://compare-autoinsurance.Org/the-advantages-of-comparing-prices-with-car-insurance-quotes-online/ The modern society has numerous technological advantages. One important advantage is the speed at which information is sent and received. With the help of the internet, the shopping habits of many persons have drastically changed. The car insurance industry hasn't remained untouched by these changes. On the internet, drivers can compare insurance prices and find out which sellers have the best offers. View photos The advantages of comparing online car insurance quotes are the following: Online quotes can be obtained from anywhere and at any time. Unlike physical insurance agencies, websites don't have a specific schedule and they are available at any time. Drivers that have busy working schedules, can compare quotes from anywhere and at any time, even at midnight. Multiple choices. Almost all insurance providers, no matter if they are well-known brands or just local insurers, have an online presence. Online quotes will allow policyholders the chance to discover multiple insurance companies and check their prices. Drivers are no longer required to get quotes from just a few known insurance companies. Also, local and regional insurers can provide lower insurance rates for the same services. Accurate insurance estimates. Online quotes can only be accurate if the customers provide accurate and real info about their car models and driving history. Lying about past driving incidents can make the price estimates to be lower, but when dealing with an insurance company lying to them is useless. Usually, insurance companies will do research about a potential customer before granting him coverage. Online quotes can be sorted easily. Although drivers are recommended to not choose a policy just based on its price, drivers can easily sort quotes by insurance price. Using brokerage websites will allow drivers to get quotes from multiple insurers, thus making the comparison faster and easier. For additional info, money-saving tips, and free car insurance quotes, visit https://compare-autoinsurance.Org/ Compare-autoinsurance.Org is an online provider of life, home, health, and auto insurance quotes. This website is unique because it does not simply stick to one kind of insurance provider, but brings the clients the best deals from many different online insurance carriers. In this way, clients have access to offers from multiple carriers all in one place: this website. On this site, customers have access to quotes for insurance plans from various agencies, such as local or nationwide agencies, brand names insurance companies, etc. "Online quotes can easily help drivers obtain better car insurance deals. All they have to do is to complete an online form with accurate and real info, then compare prices", said Russell Rabichev, Marketing Director of Internet Marketing Company. CONTACT: Company Name: Internet Marketing CompanyPerson for contact Name: Gurgu CPhone Number: (818) 359-3898Email: [email protected]: https://compare-autoinsurance.Org/ SOURCE: Compare-autoinsurance.Org View source version on accesswire.Com:https://www.Accesswire.Com/595055/What-Are-The-Main-Benefits-Of-Comparing-Car-Insurance-Quotes-Online View photos

ExBUlletin

to request, modification Contact us at Here or [email protected]