Guest Memory Vulnerabilities
AMD ID: AMD-SB-3011
Potential Impact: Confidentiality and Integrity
Severity: High
Summary
A researcher has reported to AMD three potential vulnerabilities in Secure Encrypted Virtualization – Secure Nested Paging (SEV-SNP). The reports detail ways that a malicious hypervisor controlled by the host system, could read or corrupt the memory of a guest VM.
CVE Details
Refer to Glossary for explanation of terms
CVE |
CVSS3.1 Base Score |
CVE Description |
CVE-2024-21978 |
6.0 (Medium) AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Improper input validation in SEV-SNP could allow a malicious hypervisor to read or overwrite guest memory potentially leading to data leakage or data corruption. |
CVE-2024-21980 |
7.9 (High) AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
Improper restriction of write operations in SNP firmware could allow a malicious hypervisor to overwrite a guest's memory or UMC seed potentially resulting in loss of confidentiality and integrity. |
CVE-2023-31355 |
6.0 (Medium) AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
|
Improper restriction of write operations in SEV-SNP firmware could allow a malicious hypervisor to overwrite a guest's UMC seed potentially allowing reading of memory from a decommissioned guest. |
Affected Products and Mitigation
Refer to the Mitigation Options provided for each product below.
Data Center
3rd Gen AMD EPYC™ Processors formerly codenamed “Milan"
AMD recommends updating to the Platform Initialization (PI) firmware version indicated below.
For some CVEs, there may be alternative mitigation options provided as Mitigation Option 2, including microcode and/or other patches.
CPUIDs |
Mitigation Option 1 |
Mitigation Option 2 |
TCB Values for SNP Attestation |
||
0x00A00F11 0x00A00F12 |
Platform Initialization (PI) (Requires FW flash) |
μcode (Hot loadable) |
SEV FW (Hot loadable) |
||
Minimum firmware versions to mitigate all applicable CVEs below |
MilanPI 1.0.0.D |
TCB[SNP]>0x16 |
|||
CVE-2024-21978 |
6.0 (Medium) |
MilanPI 1.0.0.D (2024-07-11) |
N/A |
SEV FW 1.37.14(hex) (2024-04-23) |
TCB[SNP]>0x16 |
CVE-2024-21980 |
7.9 (High) |
MilanPI 1.0.0.D (2024-07-11) |
N/A |
SEV FW 1.37.14(hex) (2024-04-23) |
TCB[SNP]>0x16 |
CVE-2023-31355 |
6.0 (Medium) |
MilanPI 1.0.0.D (2024-07-11) |
N/A |
SEV FW 1.37.14(hex) (2024-04-23) |
TCB[SNP]>0x16 |
4th Gen AMD EPYC™ Processors formerly codenamed "Genoa"
AMD recommends updating to the Platform Initialization (PI) firmware version indicated below.
For some CVEs, there may be alternative mitigation options provided as Mitigation Option 2, including microcode and/or other patches.
CPUIDs |
Mitigation Option 1 |
Mitigation Option 2
|
TCB Values for SNP Attestation |
||
0x00A10F11 0x00A10F12 0x00AA0F02 |
Platform Initialization (PI) (Requires FW flash) |
μcode (Hot loadable) |
SEV FW (Hot loadable) |
TCB[SNP]>0x15
|
|
Minimum firmware versions to mitigate all listed CVEs |
GenoaPI 1.0.0.C (2024-04-04) |
||||
CVE-2024-21978 |
6.0 (Medium) |
GenoaPI 1.0.0.C (2024-04-04) |
N/A |
SEV FW 1.37.24 (hex) (2024-04-04) |
TCB[SNP]>0x15 |
CVE-2024-21980 |
7.9 (High) |
GenoaPI 1.0.0.C (2024-04-04) |
N/A |
SEV FW 1.37.24 (hex) (2024-04-04) |
TCB[SNP]>0x15 |
CVE-2023-31355 |
6.0 (Medium) |
GenoaPI 1.0.0.C (2024-04-04) |
N/A |
SEV FW 1.37.24 (hex) (2024-04-04) |
TCB[SNP]>0x15 |
Embedded Processors
CVE |
AMD EPYC™ Embedded 7003 |
AMD EPYC™ Embedded 9003 |
|
Minimum firmware versions to mitigate all listed CVEs |
EmbMilanPI-SP3 1.0.0.9 (2024-10-30) |
EmbGenoaPI-SP5 1.0.0.7 (2024-07-12) |
|
CVE-2024-21978 |
6.0 (Medium) |
EmbMilanPI-SP3 1.0.0.9 (2024-10-30) |
EmbGenoaPI-SP5 1.0.0.7 (2024-07-12) |
CVE-2024-21980 |
7.9 (High) |
EmbMilanPI-SP3 1.0.0.9 (2024-10-30) |
EmbGenoaPI-SP5 1.0.0.7 (2024-07-12) |
CVE-2023-31355 |
6.0 (Medium) |
EmbMilanPI-SP3 1.0.0.9 (2024-10-30) |
EmbGenoaPI-SP5 1.0.0.7 (2024-07-12) |
Acknowledgement
AMD thanks Tom Dohrmann for reporting these issues and engaging in coordinated vulnerability disclosure.
Revisions
Revision Date |
Description |
2024-11-07 | Updated mitigation for Embedded processors. |
2024-08-05 |
Initial publication |
DISCLAIMER
The information contained herein is for informational purposes only and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD’s products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.
AMD, the AMD Arrow logo, EPYC and combinations thereof are trademarks of Advanced Micro Devices, Inc. CVE and the CVE logo are registered trademarks of The MITRE Corporation.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Third party content may be licensed to you directly by the third party that owns the content and is not licensed to you by AMD. ALL LINKED THIRD-PARTY CONTENT IS PROVIDED ‘AS IS’ WITHOUT A WARRANTY OF ANY KIND. USE OF SUCH THIRD-PARTY CONTENT IS DONE AT YOUR SOLE DISCRETION AND UNDER NO CIRCUMSTANCES WILL AMD BE LIABLE TO YOU FOR ANY THIRD PARTY CONTENT. YOU ASSUME ALL RISK AND ARE SOLELY RESPONSIBILITY FOR ANY DAMAGES THAT MAY ARISE FROM YOUR USE OF THIRD-PARTY CONTENT.
© 2024 Advanced Micro Devices, Inc. All rights reserved.