HT TECH wants to start sending you push notifications. Click allow to subscribe

70% of security bugs are memory safety problems: Chrome

Nearly half of these bugs are use-after-free bugs that occur when a program uses a pointer after it has been freed.

By: HT TECH
Updated on: Aug 20 2022, 21:12 IST
Interestingly, these numbers are identical with the ones shared by Microsoft at a security conference last year. (Pixabay)

Nearly 70% of the high severity security bugs in Chrome’s code are memory unsafety problems, Google’s engineers have revealed.

Chrome engineers in a blog post this week (via ZDNet) revealed that nearly 70% bugs in Chrome’s codebase are memory management and safety related bugs. Nearly half of these bugs are use-after-free bugs that occur when a program uses a pointer after it has been freed. These are one of the most common classes of browser vulnerabilities and they can be used by hackers for attacking Chrome’s inner components.

You may be interested in

Mobiles Tablets Laptops
37% OFF
Google Pixel 2 128GB
  • Kinda Blue
  • 4 GB RAM
  • 128 GB Storage
₹62,990₹99,999
Buy now
38% OFF
Google Pixel 7 Pro 5G
  • Obsidian
  • 12 GB RAM
  • 128 GB Storage
₹61,990₹99,999
Buy now
7% OFF
Google Pixel 7 5G
  • Obsidian
  • 8 GB RAM
  • 128 GB Storage
₹40,990₹43,999
Buy now
11% OFF
Google Pixel 7A
  • Charcoal
  • 8 GB RAM
  • 128 GB Storage
₹38,990₹43,999
Buy now
21% OFF
Acer Swift Go SFG14 41 NX KG3SI 002 Laptop
  • Pure Silver
  • 8 GB RAM
  • 512 GB SSD
₹58,999₹74,999
Buy now
39% OFF
Acer Aspire 5 A515 57G Laptop
  • Gray
  • 16 GB RAM
  • 512 GB SSD
₹54,949₹89,999
Buy now
22% OFF
Acer Aspire 3 A315 24 NX KDESI 004 Laptop
  • Silver
  • 8 GB RAM
  • 512 GB SSD
₹33,499₹42,999
Buy now
40% OFF
Asus VivoBook 15 X515JA BQ322WS Laptop
  • Transparent Silver
  • 8 GB RAM
  • 512 GB SSD
₹31,350₹51,990
Buy now
34% OFF
Xiaomi Pad 6
  • Mist Blue
  • 6 GB RAM
  • 128 GB Storage
₹26,299₹39,999
Buy now
55% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹20,999₹47,000
Buy now
21% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹19,749₹24,990
Buy now
Honor Pad X9
  • Gray
  • 4 GB RAM
  • 128 GB Storage
₹14,999
Check details

Chrome engineers analysed a total of 912 high and critical security bugs since 2015 and they found out that nearly 36.1% of these bugs were use-after-free bugs, 32.9% were memory unsafety bugs, while 7.1% were security related bugs. “These bugs are spread evenly across our codebase, and a high proportion of our non-security stability bugs share the same types of root cause. As well as risking our users’ security, these bugs have real costs in how we fix and ship Chrome,” engineers noted in the blog post.

Interestingly, these numbers are identical with the ones shared by Microsoft at a security conference last year. A Microsoft engineer last year revealed that nearly 70% of all bugs in Microsoft products were memory safety issues, ZDNet reported.

Another similarity between the two platforms is the usage of C and C++. These are old programming languages used by developers. They don’t warn or restrict developers when they are making memory allocation errors and are often deemed “unsafe”. These early errors if remained undetected can create vulnerabilities in applications which in turn can provide gateways for hackers to take control of Chrome processes.

Google says that sandboxing is one of the most common techniques used by engineers to prevent hackers from taking over the host machine. “Over the past years that architecture has been enhanced to ensure that websites are isolated from one another. That huge effort has allowed us — just — to stay ahead of the attackers. But we are reaching the limits of sandboxing and site isolation,” Google added.

The memory management related issue has become so big that engineers now are using Rule of 2 for writing code. This rules says that engineers cannot break more than two of these three rules:

-- Code which processes unworthy inputs

-- Code written in an unsafe language (C/C++)

-- Code which runs with no sandbox.

However, using the Rule of 2 is preventing developers from shipping features to Chrome.

The company is tackling this issue by “fixing classes of bugs at scale, rather than merely containing them.” It expects its new strategy to cause significant changes to C++ developer experience. In addition to this, Google is also exploring the “option of a programming language designed for compile-time safety checks with less runtime performance impact.”

Catch all the Latest Tech News, Mobile News, Laptop News, Gaming news, Wearables News , How To News, also keep up with us on ,Twitter, Facebook, , and Instagram. For our latest videos, subscribe to our YouTube channel.

First Published Date: 26 May, 14:38 IST
Tags:

Sale

Mobiles Tablets Laptops
5% OFF
Google Pixel 7A
  • Charcoal
  • 8 GB RAM
  • 128 GB Storage
₹41,990₹43,999
Buy now
44% OFF
Samsung Galaxy S23 FE
  • Mint
  • 8 GB RAM
  • 128 GB Storage
₹44,999₹79,999
Buy now
4% OFF
Samsung Galaxy S24 Ultra
  • Titanium Black
  • 12 GB RAM
  • 256 GB Storage
₹129,999₹134,999
Buy now
7% OFF
Apple iPhone 15 Pro Max
  • Black Titanium
  • 8 GB RAM
  • 256 GB Storage
₹148,900₹159,900
Buy now
38% OFF
Xiaomi Pad 6
  • Mist Blue
  • 6 GB RAM
  • 128 GB Storage
₹24,999₹39,999
Buy now
38% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹20,999₹34,000
Buy now
38% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹17,999₹28,999
Buy now
25% OFF
Samsung Galaxy Tab A7 Lite
  • Silver
  • 3 GB RAM
  • 32 GB Storage
₹9,529₹12,700
Buy now
23% OFF
Infinix INBook X1 Neo XL22 Laptop Intel Celeron Quad Core 8 GB 256 GB SSD Windows 11
  • Blue
  • 4 GB RAM
  • 128 GB SSD
₹22,990₹29,990
Buy now
44% OFF
HP ZBook Firefly 14 G9 7M3U0PA Laptop
  • Nouvelle Silver
  • 16 GB RAM
  • 1 TB SSD
₹79,990₹142,659
Buy now
39% OFF
HP ZBook Firefly 14 G9 7M3T2PA Laptop
  • Nouvelle Silver
  • 16 GB RAM
  • 1 TB SSD
₹98,900₹162,500
Buy now
9% OFF
Asus Vivobook K15 OLED K513EA L512TS Laptop
  • Indie Black
  • 16 GB RAM
  • 512 GB SSD
₹41,999₹45,999
Buy now
NEXT ARTICLE BEGINS