Re:Growing a company that sells miniature construction suppl...
by rlpb on Wednesday February 21, 2018 @10:17AM
(#16430022)
> There's nothing wrong with JavaScript, since it can run inside a sandbox.
Spectre and Meltdown have shown that there is no such thing as a true sandbox. You're always safer not running a sandbox as this way you're safe from the next sandbox breaking vulnerability that already exists but has yet to be discovered.
Re:Growing a company that sells miniature construction suppl...
by amelius on Wednesday February 21, 2018 @10:20AM
(#16430042)
> Spectre and Meltdown have shown that there is no such thing as a true sandbox.
On the Intel platform, perhaps. But that's only because of performance optimizations, so that statement is not universally true.
Re:Growing a company that sells miniature construction suppl...
by adrianN on Wednesday February 21, 2018 @11:01AM
(#16430362)
Until you can give me a hardware and software stack that has full correctness proofs, including absence of side-channels, I will have to assume that my best course of action is not running untrusted code if it's not absolutely necessary.
Re:Growing a company that sells miniature construction suppl...
by pilsetnieks on Wednesday February 21, 2018 @10:32AM
(#16430129)
Meltdown is Intel only; Spectre is the one that affects most platforms, and is exploitable from Javascript, although it's harder to exploit, and browser makers have deployed fixes.
Re:Growing a company that sells miniature construction suppl...
by amelius on Wednesday February 21, 2018 @04:03PM
(#16432962)
Spectre is based on branch-prediction and cache memory, see [1]. This means that one obvious way to avoid it is to disable branch-prediction, with a performance loss as a result. Another way would be to separate cache memory between different processes. There are probably more clever ways, but that's just to show that the vulnerability can be avoided. Also, early processors such as 6502 and 8086 didn't have the bug, obviously, but should be capable of running web-browsers if performance is not an issue.
[1] https://en.wikipedia.org/wiki/Spectre_(security_vulnerabilit...
Re:Growing a company that sells miniature construction suppl...
by ufo on Wednesday February 21, 2018 @10:46AM
(#16430247)
Spectre can never be trully fixed though. What we have are mitigations.
Re:Growing a company that sells miniature construction suppl...
by falcolas on Wednesday February 21, 2018 @10:50AM
(#16430282)
Spectre is not Intel specific, and most of the processors immune to spectre attacks also don't run web browsers, making it a irrelevant-to-the-discussion point.
Re:Growing a company that sells miniature construction suppl...
by throwaway76543 on Wednesday February 21, 2018 @10:17AM
(#16430021)
"There's nothing wrong with JavaScript, since it can run inside a sandbox."
This is not true, as Meltdown and Spectre have recently taught us.
A site which can degrade gracefully in the absence of js features is a higher bar than a static, js free site. At the end of the day, disabling js entirely is a custom privilege level of zero.
Re:Growing a company that sells miniature construction suppl...
by yjftsjthsd-h on Wednesday February 21, 2018 @11:09AM
(#16430447)
An idea: is there any way to pause JavaScript on a page? I would be more okay with letting JavaScript run long enough to load the page, and then stop it executing after a couple seconds
What's wrong with browsers is that they allow JavaScript to do anything once it's enabled (like make network requests).
So talk to your browser vendor. Ask them to implement a mode where JavaScript can be run with custom privileges.