|
|
|
|
|
by bsdetector
3084 days ago
|
|
Followup legitimate question: the only way to read data is to control the results of a speculative execution or fetch right? For JavaScript won't it be sufficient to check all the calls out of it so that they can't pass data that controls an exploitable speculative execution, and also generate JIT code so the JS itself can't create exploitable instructions. The API will have to be heavily scrutinized and the JS will run somewhat slower. If the rest of the browser code is vulnerable, but the JS code can't control the speculative execution then it should be safe to run any JS. |
|
That said, without some way of extracting timing at the granularity of 10s of instructions, this attack is moot. So that's likely going to be the mitigation. Unfortunately, the web frames used in some apps are infrequently if ever updated, so JS engine updates there are gonna be hard.