Vulnallery
CacheWarp logo

CPU & hardware

CacheWarp

Software fault attack on AMD SEV that reverts writes inside confidential VMs to escalate privileges.

At a glance: CacheWarp is a vulnerability in the area of CPU & hardware, disclosed on 14 November 2023 and tracked as CVE-2023-20592. It was discovered by a team including Ruiyi Zhang (CISPA), Lukas Gerlach (CISPA), Daniel Weber (CISPA) and others. The logo was designed by Lea Mosbach. The logo is in the public domain (CC0 1.0) and may be used without restriction.

Background

The hypervisor can revert individual stores of a protected virtual machine, so the VM keeps working with stale data. This can reset an authentication flag or return addresses; the researchers demonstrated code execution and privilege escalation inside the VM. It is an architectural hardware bug, not a side channel.

Discovered by
Ruiyi Zhang (CISPA), Lukas Gerlach (CISPA), Daniel Weber (CISPA), Lorenz Hetterich (CISPA), Youheng Lü, Andreas Kogler (TU Graz) and Michael Schwarz (CISPA)
Affected
AMD processors with SEV, including SEV-ES and SEV-SNP
Severity
CVSS 3.1: 6.5 (medium) · CVE-2023-20592 · NVD

Sources: cachewarpattack.com, nvd.nist.gov

CVE identifiers

Image rights

Design
Lea Mosbach
Licence
CC0 1.0 – public domain dedication
Evidence
cachewarpattack.com

Questions and answers about CacheWarp

What is CacheWarp?

Software fault attack on AMD SEV that reverts writes inside confidential VMs to escalate privileges. The hypervisor can revert individual stores of a protected virtual machine, so the VM keeps working with stale data. This can reset an authentication flag or return addresses; the researchers demonstrated code execution and privilege escalation inside the VM. It is an architectural hardware bug, not a side channel. CacheWarp was disclosed on 14 November 2023.

Who discovered CacheWarp?

CacheWarp was discovered by Ruiyi Zhang (CISPA), Lukas Gerlach (CISPA), Daniel Weber (CISPA), Lorenz Hetterich (CISPA), Youheng Lü, Andreas Kogler (TU Graz) and Michael Schwarz (CISPA).

What is affected by CacheWarp?

Affected: AMD processors with SEV, including SEV-ES and SEV-SNP.

How severe is CacheWarp?

NVD rates CVE-2023-20592 with a CVSS 3.1 base score of 6.5 out of 10 (medium).

Who designed the CacheWarp logo?

The logo was designed by Lea Mosbach.

May I use the CacheWarp logo?

The logo is in the public domain (CC0 1.0) and may be used without restriction. No guarantee; the source cachewarpattack.com is authoritative.

Which CVE identifier does CacheWarp have?

CacheWarp is tracked as CVE-2023-20592.