CVE-2024-21978 is an improper input validation vulnerability in AMD SEV-SNP (Secure Encrypted Virtualization - Secure Nested Paging). The flaw allows a malicious hypervisor to bypass memory isolation guarantees, enabling it to read or overwrite guest memory. This undermines the confidentiality and integrity protections provided by SEV-SNP for virtual machines.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a sophisticated exploit targeting a vulnerability in AMD SEV-SNP firmware (tested on version 1.55.16). The exploit enables decryption of arbitrary memory from a running SEV-SNP guest by corrupting guest context pages and leveraging the SNP_DBG_DECRYPT command. The repository is structured as follows: - **Rust Exploit Code** (`src/main.rs`, `src/kvm.rs`, `src/slot.rs`, `src/snp_types.rs`): Implements the logic to orchestrate the attack, including creating and managing VMs, manipulating guest context pages, and interacting with the KVM/SEV interfaces. - **Linux Kernel Patches** (`linux-patches/*.patch`): A series of patches for the Linux kernel's KVM and SEV modules. These patches expose internal SEV-SNP state and commands to userspace, allow manipulation of page states, and prevent firmware crashes during exploitation. - **README.md**: Provides a detailed technical explanation of the vulnerability, the root cause, and the exploitation steps, including the probability and expected runtime for a successful attack. The exploit requires significant privileges: the attacker must be able to patch and rebuild the Linux kernel, reboot the system, and run custom code on the host. The attack is not fast (may take days to succeed) but, if successful, allows the attacker to decrypt protected guest memory, breaking the confidentiality guarantees of SEV-SNP. The exploit is operational and demonstrates a real-world attack, but is not weaponized for automated or mass exploitation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.