Has it been Pwned
Side channelPractical impact

CacheWarp: software fault injection breaks AMD SEV VMs and RSA-CRT

Researchers from CISPA and Graz University of Technology showed that a malicious hypervisor can use AMD's INVD instruction to drop a confidential VM's modified cache lines, reverting memory to a stale value. Among their case studies, this fault let them run the Bellcore attack on RSA-CRT in Intel's IPP crypto library inside an SEV-SNP guest and recover the private key, as well as bypass OpenSSH authentication and gain root via sudo.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

CacheWarp is a software-only fault primitive against a TEE whose threat model excludes the hypervisor. AMD issued microcode for 3rd-gen EPYC (Milan) (CVE-2023-20592); earlier generations did not receive a fix. It shows how a 1997 fault attack remains effective whenever a computation can be corrupted and the result is released unchecked. Published at USENIX Security 2024.

Sources

  1. announcementCacheWarp project pageCacheWarp authors, cachewarpattack.com
  2. paperCacheWarp: Software-based Fault Injection using Selective State Reset (USENIX Security 2024)USENIX / authors, misc0110.net
  3. cveCVE-2023-20592NIST NVD, nvd.nist.gov