Thursday, January 18th 2018
AMD Is Served: Class Action Lawsuit Launched Over Spectre Vulnerabilities
Despite the grunt of the media's attention and overall customer rage having been thrown largely at Intel, AMD hasn't moved past the Spectre/Meltdown well, meltdown, unscathed. News has surfaced that at least two law firms have announced their intention of filing a class action lawsuit against AMD, accusing the company of not having disclosed their products' Spectre vulnerability, despite knowledge of said vulnerabilities.
AMD stated loud and clear that their processors weren't affected by the Meltdown flaw. However, regarding Spectre, AMD's terms weren't as clear cut. The company stated that its CPUs were vulnerable to the Spectre 1 flaw (patchable at a OS level), but said that vulnerability to Spectre 2's variant had "near-zero risk of exploitation". At the same time, the company also said that "GPZ Variant 2 (Branch Target Injection or Spectre) is applicable to AMD processors", adding that "While we believe that AMD's processor architectures make it difficult to exploit Variant 2, we continue to work closely with the industry on this threat.The problem, according to the law firms, are these two disparate remarks from AMD regarding said vulnerability to Spectre 2. I'll just take it straight from the source, as Pomerantz wrote:
"In response to the Project Zero team's announcement, a spokesperson for AMD advised investors that while its own chips were vulnerable to one variant of Spectre, there was "near zero risk" that AMD chips were vulnerable to the second Spectre variant. Then, on January 11, 2018, post-market, AMD issued a press release entitled "An Update on AMD Processor Security," acknowledging that its chips were, in fact, susceptible to both variants of the Spectre security flaw."
This editor would just like to invite all readers to think this through with him - "Near Zero Risk of Exploitation Does Not Equal Zero Risk", which automatically means that AMD's processors were susceptible to both Spectre variants. At no point in time, in these statements that are being brought to the stage, did AMD say their processors weren't vulnerable.
AMD, naturally, has already responded to these lawsuit announcements, saying that these allegations are "without merit" and that it intends "to vigorously defend against these baseless claims." You can read both law firms' statements via the source links.
Sources:
Tom's Hardware, Rosen Legal Case 1269, Pomerantz Law Firm
AMD stated loud and clear that their processors weren't affected by the Meltdown flaw. However, regarding Spectre, AMD's terms weren't as clear cut. The company stated that its CPUs were vulnerable to the Spectre 1 flaw (patchable at a OS level), but said that vulnerability to Spectre 2's variant had "near-zero risk of exploitation". At the same time, the company also said that "GPZ Variant 2 (Branch Target Injection or Spectre) is applicable to AMD processors", adding that "While we believe that AMD's processor architectures make it difficult to exploit Variant 2, we continue to work closely with the industry on this threat.The problem, according to the law firms, are these two disparate remarks from AMD regarding said vulnerability to Spectre 2. I'll just take it straight from the source, as Pomerantz wrote:
"In response to the Project Zero team's announcement, a spokesperson for AMD advised investors that while its own chips were vulnerable to one variant of Spectre, there was "near zero risk" that AMD chips were vulnerable to the second Spectre variant. Then, on January 11, 2018, post-market, AMD issued a press release entitled "An Update on AMD Processor Security," acknowledging that its chips were, in fact, susceptible to both variants of the Spectre security flaw."
This editor would just like to invite all readers to think this through with him - "Near Zero Risk of Exploitation Does Not Equal Zero Risk", which automatically means that AMD's processors were susceptible to both Spectre variants. At no point in time, in these statements that are being brought to the stage, did AMD say their processors weren't vulnerable.
AMD, naturally, has already responded to these lawsuit announcements, saying that these allegations are "without merit" and that it intends "to vigorously defend against these baseless claims." You can read both law firms' statements via the source links.


56 Comments on AMD Is Served: Class Action Lawsuit Launched Over Spectre Vulnerabilities
Any piece of code which is able to trigger the right system calls with timing and precision will be able to exploit it. Nearly every language, even scripts, interface with low-level functionality through libraries.
googleprojectzero.blogspot.com/2018/01/reading-privileged-memory-with-side.html
The abstractions in a language does not protect you when a CPU or a kernel have undefined behavior. And when there is a bug causing information leakage due to speculative execution, it doesn't matter if you control your memory allocation or not, since these exploits are about tricking the CPU to write privileged memory back to your unprivileged memory.
So it doesn't matter if your code is written in PHP, JavaScript, Python, Go, Rust, Java or whatever. As long as you either directly or indirectly can trigger the right system calls and the right operations within a timeframe after that, either directly or indirectly, the language is irrelevant. It's this kind of ignorance which causes people to claim their applications is "safe because it's written in language ___"…
These exploits are not limited to languages like C, there have been examples from Java and JavaScript (both Chrome and Firefox)
For Spectre to actually be exploited you need to basically fake a branch that will cause an exception and it only sometimes works and depends on several factors. The way the JVM works makes this hard to exploit because of how Java bytecode gets executed. It is completely dependent on the JVM and there isn't really any way to use Java or any other JVM language to change that so, unless there is already an internal instruction in the JVM that not only causes this exploit to occur, but stores the value for you, then you're already out of luck. You can't just tell Java to access a memory location because you don't have that kind of control in the JVM, period, end of story. In fact you can't due to the nature of how the JVM works because the level at which you would have enough control is inside the JVM itself and the only way to get there is by recompiling the JVM. JavaScript on the other hand is a very different animal and is much closer to hardware than Java is because every aspect of it hasn't been abstracted away like it has been with Java. In fact, libraries for Node.js can be written in C to accelerate workloads and this is common for libraries in Node.js that demand performance. You can't really do that with Java short of using C bindings which are already a wonky thing in the JVM and are arguably still not as fast... it's also still going back to C to do it.
The amount of abstraction does in fact determine what you can do to the underlying host and it's very much so the case that JavaScript has far fewer abstractions between JS code itself and when it gets run on hardware... and as you said, timing for this bug is crucial and languages with more abstractions are even less likely to behave within the very short window you have to do something while a predicted branch is being preemptively executed and the amount of extra stuff something like the JVM does makes that window even smaller if it even gives the opportunity at all.Your quote talks about JavaScript, not Java, and the difference between the two platforms is important to understand why one is more vulnerable than the other. Simply put, JIT compilation in the JVM isn't fast enough for it to be a likely candidate for exploitation. You need better timing than what it offers and JavaScript JIT compiling in browsers these days are pretty damn fast and is far easier to control timing to be able to exploit spectre... and that does have a whole lot to do with why it is a better target than the JVM but, no higher level language will be more effective than using C because of how the exploit comes about.
...but please, continue to make this personal.