Science news and discussion on TalkFuse.
Spectre bug is back, this time to haunt JIT engines
Researchers in the Netherlands and Italy have identified Branch Target Reuse (BTR), a new Spectre variant that can target just-in-time (JIT) compilers. It exploits old indirect branch prediction entries left behind when JIT code is replaced, potentially allowing an attacker to infer sensitive data through speculative execution.
The researchers demonstrated proof-of-concept attacks on an Intel-based Linux kernel, extracting a root password hash despite a cBPF defence. They estimate leakage rates of 5.7 KB per second on Intel Raptor Cove chips and 5.4 KB per second on Lion Cove chips. Linux kernel developers and Oracle have added mitigations, while Mozilla is prioritising site isolation; stronger measures such as IBPB can reduce risk but may affect performance.
In short
- A new Spectre variant can exploit stale branch predictions in JIT engines.
- Tests extracted a Linux root password hash at several KB per second.
- Linux and Oracle have mitigations; stronger defences may affect performance.
Explained simply
Spectre is a security flaw in computer processors that allows attackers to steal sensitive information by exploiting the way processors try to run faster. Nearly every computer, phone and tablet is affected because the flaw exists at the processor level, not in particular software or operating systems.
Just-in-time compilers are systems used by web browsers and other applications that convert code into instructions the processor can understand whilst programmes are running. Because they are so widely used, any vulnerability in them could potentially affect billions of devices, from smartphones to computers in data centres.
Researchers have discovered a new way that Spectre can attack these just-in-time compilers, a finding that matters because these systems are embedded in browsers and applications used by billions of people. The discovery shows that despite years of security patches, Spectre remains an evolving threat that technology companies must continue to address.