CVE-2024-21978
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper input validation in SEV-SNP could allow a malicious hypervisor to read or overwrite guest memory potentially leading to data leakage or data corruption.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a vulnerability in AMD's SEV-SNP (Secure Encrypted Virtualization with Secure Nested Paging) technology. Improper input validation in the SEV-SNP hypervisor interface allows a malicious or compromised hypervisor to potentially read or write guest memory, bypassing the memory encryption protections that SEV-SNP is designed to enforce. This undermines the threat model of SEV-SNP, which assumes the hypervisor is a trusted component.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.d< milanpi_1.0.0.dCVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed AMD EPYC CPU modelRun 'lscpu' or check /proc/cpuinfo to identify the processor model name (e.g., EPYC 7203, EPYC 7303, etc.)Affected if The CPU model matches one of the affected models: EPYC 7203, 7203p, 72f3, 7303, 7303p, 7313, 7313p, or 7343
-
Verify SEV-SNP is enabled in the systemCheck system boot parameters or hypervisor configuration for SEV-SNP enablement. On Linux, inspect /sys/kernel/debug/sev- status or use 'dmesg | grep -i sev' to see if SEV-SNP is activeAffected if SEV-SNP is currently enabled or has been enabled on this system, indicating the vulnerable interface is in use
-
Determine the SEV-SNP firmware versionOn the host, query the AMD SEV firmware version through the hypervisor or use 'cat /sys/firmware/amd/sev/firmware_version' if available. Alternatively, use 'cpuid' to retrieve CPU information that may expose the SNP microcode versionAffected if The firmware version is present and is earlier than milanpi_1.0.0.d (e.g., milanpi versions prior to 1.0.0.d)
-
Confirm the hypervisor platformIdentify the cloud provider or hypervisor in use (e.g., AMD SEV-SNP is typically deployed in cloud environments). Use 'virt-what' or check hypervisor documentation to determine the platform hosting SEV-SNP VMsAffected if Running on an unpatched cloud or hypervisor infrastructure that has not applied the AMD-provided firmware update
A user is affected if they are running SEV-SNP on one of the listed AMD EPYC processors with firmware versions earlier than milanpi_1.0.0.d, particularly in cloud environments where the hypervisor controls the SEV-SNP interface.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply AMD-provided microcode/firmware updates and ensure cloud service providers have patched their hypervisors. Guests should verify their SEV-SNP environment is running on patched infrastructure and consider additional isolation measures until patches are applied.
milanpi_1.0.0.d or later
- Obtain the updated firmware version milanpi_1.0.0.d or later from AMD's official support website or your system vendor
- Locate the firmware update utility or BIOS/UEFI update process specific to your server hardware
- Follow the vendor's standard procedure to apply the SEV-SNP firmware update, which typically involves either: a) Updating via the BMC/IPMI web interface, or b) Using the vendor's firmware update tool from a management host
- After applying the firmware update, verify that the SEV-SNP feature is now properly validating inputs and the version reflects milanpi_1.0.0.d or later
- Ensure that any guests using SEV-SNP are restarted to benefit from the fixed firmware
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,608.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-21978 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-21978 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data