Live data from Hacker News

Actively exploited sandbox RCE in all Chromium versions

nvd.nist.gov

331–340 of 527 posts

Re: Actively exploited sandbox RCE in all Chromium versions

#331
post #178

Earlier quoted context omitted.

Running code by itself isn't that bad, it's the fact that browser developers have decided for some reason that this code needs to be as performant as possible, so, JIT. I don't get it! The way JS is typically used, it doesn't even benefit from JIT all that much. Making ajax requests, doing stuff with strings, and moving DOM elements around doesn't need every CPU clock cycle to be used as optimally as possible. It's e…

I disagree about JIT performance not mattering. I enabled "Lockdown Mode" on iOS which disables the JIT for the mentioned security reasons, and it causes a very noticeable lagginess on many sites. Of course, the primary cause is the unnecessary JS monstrosities wasting CPU cycles. But practically speaking I can say that disabling the JIT results in a very subpar experience of many JS heavy pages.

I have used Lockdown mode also. Not that inconvenient but I didn’t mind the slight no JIT slowdown. I did find not seeing some images annoying.

Re: Actively exploited sandbox RCE in all Chromium versions

#332

[flagged]

What does your vibe-coded-in-C browser do to mitigate this kind of exploit?

My vibe-coded browser doesn't have a JIT JavaScript compiler.

https://github.com/nordstjernen-web/northstar-browser/blob/m...

Re: Actively exploited sandbox RCE in all Chromium versions

#333
post #310

Earlier quoted context omitted.

> One seemingly small change to a page (like setting innerText) can have many ripple effects with reflow on mamy parts of a page. I haven't looked into how browsers actually do it, but my mental model for it is that if something changes, this merely sets a flag on that element or its parent that its layout is not valid any more. Then, on next vsync, all the elements that have this flag set have their layout recalcula…

OP here. The steel-man argument for React is not that it is faster at rendering. It cannot be , because it ultimately relies on the same DOM that everyone else does to do the job, and it has to set up a massive JS data structure to do what it does, which uses a lot of memory and has big GC costs. Arguments that assert that the React virtual DOM are faster than the native/shadow DOM are simply wrong [1]. Even the Reac…

Well, I'm an old-school guy. I'm all for developer ergonomics, as long as they don't affect the runtime. I use PostCSS and TypeScript in my own projects precisely for this reason, because they both make things more convenient for me yet leave no trace in the finished product that the users see.

> But now that LLMs are writing the code

Hopefully that's a temporary state of affairs and everyone will eventually go back to writing code by hand. I've never even considered using an LLM to get my job done, the whole idea is as alien to me as are these types of UI frameworks. To me, the best language to describe what you want from a computer isn't English, it's a programming language.

Re: Actively exploited sandbox RCE in all Chromium versions

#334

I’m so tired. I think I’m just going to get a job as a garbage man and cancel my internet.

Don't. Garbage Collector hurts your memory

Sometimes you want nothing more than to make room for new memories.

Re: Actively exploited sandbox RCE in all Chromium versions

#335

Normalising running arbitrary code delivered over the internet (in the form of JavaScript and WASM), as a necessary condition for accessing most web pages may not have been one of the best decisions we have made.

Rubbish, it was a great decision. So many websites wouldn't have been possible otherwise - Google maps, YouTube, ChatGPT, WhatsApp, etc. etc.

Do you remember what the alternative was? Flash, Java, ActiveX. No thank you.

Sure security is difficult but vulnerabilities of this magnitude are rare. If anything the lesson is don't write highly security sensitive software in C/C++.

Re: Actively exploited sandbox RCE in all Chromium versions

#336

Normalising running arbitrary code delivered over the internet (in the form of JavaScript and WASM), as a necessary condition for accessing most web pages may not have been one of the best decisions we have made.

Before JS and WASM we had arbitrary code delivered in the form of ActiveX components, Java applets and Flash applications, which were much worse. At least now we have multiple open source implementations of the runtime.

Re: Actively exploited sandbox RCE in all Chromium versions

#338

Earlier quoted context omitted.

The value of the report is dependent on the scarcity of the knowledge. If anybody can report it, the bid goes down.

How do you figure? The value of the report is, ethics aside, the same as the value of exploiting it. Doesn’t matter if I can conceive of it, it matters if I can exploit it.

Not following that. The report is the upstream resource the exploit needs. The value of iron ore is definitely not the value of the steel made with it. Or maybe I misunderstood your view?

Re: Actively exploited sandbox RCE in all Chromium versions

#339
post #252

Earlier quoted context omitted.

But google is also a monopsony. There isn't anyone else the researcher can ethically sell it to. They just have to take whatever bounty google decides to pay.

I'm just saying it's more evidence that Google should be broken up.

Do the smaller browser makers pay more for big bounties?
Post reply on HN