Skip to main content
Mallory
← Back to News
cloud-service-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

WeSee Flaws Let Malicious Hypervisors Compromise AMD SEV-SNP Guests

Vulnerability Disclosure · 8 sources · Updated 3mo ago · First seen May 22, 2024

WeSee Flaws Let Malicious Hypervisors Compromise AMD SEV-SNP Guests

CVE-2024-25742 and CVE-2024-25743 (WeSee) affect Linux virtual machines protected by AMD Secure Encrypted Virtualization–Secure Nested Paging (SEV-SNP). A malicious hypervisor can inject forged #VC exceptions, including interrupt 0x80, and manipulate the guest's EAX register. Because the guest handler may emulate an instruction without authenticating that it caused the exception, an attacker can induce writes of attacker-controlled data or disclose sensitive guest data, compromising VM confidentiality and integrity.

Red Hat rated each flaw moderate severity with a CVSS v3.1 score of 7.1 and released kernel fixes for affected Red Hat Enterprise Linux 8 and 9 streams, including selected Extended Update Support releases. Organizations operating SEV-SNP workloads should apply the applicable RHEL kernel updates and treat the hypervisor as a critical trust boundary; RHEL 6 and 7 kernel and kernel-rt packages are listed as not affected.

Why it matters

Impact assessment

WeSee breaks the core confidentiality and integrity guarantees of AMD SEV-SNP Linux guest VMs when the hosting hypervisor is malicious or compromised. The impact is severe for confidential-computing workloads: an attacker controlling the hypervisor can read guest secrets, alter guest memory and execution, and obtain guest-kernel code execution; availability impact is not the primary outcome.

  • Affected population: Linux VMs using AMD SEV-SNP, including cloud-hosted workloads that rely on SEV-SNP to protect data from the infrastructure provider.
  • Business impact: exposure of application secrets and cryptographic key material, unauthorized modification of security controls, guest root compromise, and loss of confidence in workload isolation from the cloud host.
  • Demonstrated outcomes: recovery of NGINX kTLS session-key material, modification of firewall behavior, and a root shell through kernel shellcode injection.
  • Scope: targeted against individual SEV-SNP guests by an adversary with malicious-hypervisor control; it is not a remote unauthenticated attack against ordinary Linux systems.
  • Exploitation status: the referenced research released proof-of-concept tooling and exploits as open source. The supplied sources do not report confirmed exploitation in the wild.
  • Red Hat rates both CVE-2024-25742 and CVE-2024-25743 as Moderate, CVSS v3.1 7.1, despite the potential for high confidentiality and integrity impact, because exploitation requires privileged/local control at the virtualization layer.

Affected products

  • AMD SEV-SNP deployments running Linux guest VMs.
  • Red Hat Enterprise Linux 8 and 9 kernel and selected kernel-rt/EUS streams were affected and received fixes.
  • RHEL 6 kernel and RHEL 7 kernel and kernel-rt packages are listed as not affected.
  • Intel TDX and ARM CCA were assessed by the researchers as not susceptible to the demonstrated WeSee method.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Oct 26, 2023 – May 22, 2024
  1. Reported May 22, 20243y ago

    Red Hat fixes RHEL 8.8 EUS kernel

    Red Hat issued RHSA-2024:3810, fixing the affected RHEL 8.8 Extended Update Support kernel for CVE-2024-25742 and CVE-2024-25743.

    CVE-2024-25743 - Red Hat Customer Portal
  2. Reported May 22, 20243y ago

    Red Hat fixes RHEL 9.0 EUS kernel

    Red Hat released RHSA-2024:3421, providing a kernel fix for the affected RHEL 9.0 Extended Update Support stream.

    CVE-2024-25743 - Red Hat Customer Portal
  3. May 22, 20243y ago

    Red Hat fixes affected RHEL 8 kernel packages

    Red Hat issued RHSA-2024:3138 for the RHEL 8 kernel and RHSA-2024:2950 for kernel-rt to address CVE-2024-25742 and CVE-2024-25743.

    CVE-2024-25743 - Red Hat Customer Portal
  4. May 8, 20243y ago

    Red Hat releases RHEL 9 kernel fix for the SEV-SNP flaws

    Red Hat issued RHSA-2024:2758, fixing the affected RHEL 9 kernel for CVE-2024-25742 and CVE-2024-25743.

    CVE-2024-25743 - Red Hat Customer Portal
  5. May 1, 20243y ago

    Red Hat fixes CVE-2024-25742 and CVE-2024-25743 for RHEL 9.2 EUS

    Red Hat released RHSA-2024:2627 for the RHEL 9.2 Extended Update Support kernel and RHSA-2024:2628 for kernel-rt, addressing the SEV-SNP interrupt-injection vulnerabilities.

    CVE-2024-25743 - Red Hat Customer Portal
  6. Oct 26, 20233y ago

    Researchers disclose WeSee attack to AMD

    Researchers responsibly disclosed WeSee (CVE-2024-25742), a malicious #VC interrupt-injection attack against AMD SEV-SNP guests, to AMD. The attack can enable guest-state leakage, memory corruption, and arbitrary guest-memory reads and writes from a malicious hypervisor.

    WeSee: Using Malicious #VC Interrupts to Break AMD SEV-SNP
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

3 linked
Linux KernelRed Hat Enterprise LinuxSev-Snp

Organizations

1 linked
Advanced Micro Devices
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.