AMD Embedded Processors Vulnerabilities – February 2024

Bulletin ID:    AMD-SB-5001
Potential Impact: Varies by CVE, see descriptions below
Severity: Varies by CVE, see descriptions below

Summary

Potential vulnerabilities in AMD Embedded processors were reported, and mitigations are being provided through Platform Initialization (PI) firmware packages.

CVE Details

Refer to Glossary for explanation of terms

CVESeverityCVE Description
CVE-2020-12930HighImproper parameters handling in AMD Platform Security Processor (PSP)1 drivers may allow a privileged attacker to elevate their privileges.
CVE-2020-12931HighImproper parameters handling in the AMD Platform Security Processor (PSP)1 kernel may allow a privileged attacker to elevate their privileges.
CVE-2021-46757  HighInsufficient checking of memory buffer in ASP Secure OS may allow an attacker with a malicious TA to read/write to the ASP Secure OS kernel virtual address space potentially leading to privilege escalation.
CVE-2022-23820HighFailure to validate the AMD SMM communication buffer may allow an attacker to corrupt the SMRAM potentially leading to arbitrary code execution.
CVE-2022-23821HighImproper access control in System Management Mode (SMM) may allow an attacker to write to SPI ROM potentially leading to arbitrary code execution.
CVE-2023-20563HighInsufficient protections in System Management Mode (SMM) code may allow an attacker to potentially enable escalation of privilege via local access.
CVE-2023-20565HighInsufficient protections in System Management Mode (SMM) code may allow an attacker to potentially enable escalation of privilege via local access.
CVE-2021-26392MediumInsufficient verification of missing size check in 'LoadModule' may lead to an out-of-bounds write allowing an attacker with privileges to gain code execution of the secure OS/kernel by loading a malicious TA.
CVE-2021-26393MediumInsufficient memory cleanup in the AMD Secure Processor (ASP) Trusted Execution Environment (TEE) may allow an authenticated attacker with privileges to generate a valid signed TA and potentially poison the contents of the process memory with attacker-controlled data resulting in a loss of confidentiality.
CVE-2021-46754MediumInsufficient input validation in the ASP (AMD Secure Processor) bootloader may allow an attacker with a compromised Uapp or ABL to coerce the bootloader into exposing sensitive information to the SMU (System Management Unit) resulting in a potential loss of confidentiality and integrity.
CVE-2021-46774MediumInsufficient input validation in ABL may enable a privileged attacker to perform arbitrary DRAM writes, potentially resulting in code execution and privilege escalation.
CVE-2023-20533MediumInsufficient DRAM address validation in System Management Unit (SMU) may allow an attacker using DMA to read/write from/to invalid DRAM address potentially resulting in denial-of-service.
CVE-2023-20566MediumImproper address validation in ASP with SNP enabled may potentially allow an attacker to compromise guest memory integrity.
CVE-2023-20571MediumA race condition in System Management Mode (SMM) code may allow an attacker using a compromised user space to leverage CVE-2018-8897 potentially resulting in privilege escalation.
CVE-2021-26345LowFailure to validate the value in APCB may allow an attacker with physical access to tamper with the APCB token to force an out-of-bounds memory read potentially resulting in a denial of service.
CVE-2021-46762LowInsufficient input validation in the SMU may allow an attacker to corrupt SMU SRAM potentially leading to a loss of integrity or denial of service.
CVE-2021-46766  LowImproper clearing of sensitive data in the ASP Bootloader may expose secret keys to a privileged attacker accessing ASP SRAM, potentially leading to a loss of confidentiality.
CVE-2022-23830LowSMM configuration may not be immutable, as intended, when SNP is enabled resulting in a potential limited loss of guest memory integrity.
CVE-2023-20521LowTOCTOU in the ASP Bootloader may allow an attacker with physical access to tamper with SPI ROM records after memory content verification, potentially leading to loss of confidentiality or a denial of service.
CVE-2023-20526LowInsufficient input validation in the ASP Bootloader may enable a privileged attacker with physical access to expose the contents of ASP memory potentially leading to a loss of confidentiality.
  1. AMD Platform Secure Processor (PSP) is now known as AMD Secure Processor (ASP).

 

Affected Products and Mitigation

AMD recommends updating to the Platform Initialization (PI) firmware version indicated below.

CVEAMD EPYC™ Embedded 3000AMD EPYC™ Embedded 7002AMD EPYC™ Embedded 7003AMD EPYC™ Embedded 9003
Minimum version to mitigate all listed CVEsSnowyOwl PI
1.1.0.8
(2021-12-24)
EmbRomePI-SP3
1.0.0.A
(2023-07-31)
EmbMilanPI-SP3
1.0.0.7
(2023-07-31)
EmbGenoaPI-SP5
1.0.0.2
(2023-08-04)
CVE-2020-12930HighNot affectedNot affectedNot affectedNot affected
CVE-2020-12931HighNot affectedNot affectedNot affectedNot affected
CVE-2021-46757HighNot affectedNot affectedNot affectedNot affected
CVE-2022-23820HighNot affectedNot affectedEmbMilanPI-SP3
1.0.0.1
(2021-07-30)
Not affected
CVE-2022-23821HighNot affectedNot affectedNot affectedNot affected
CVE-2023-20563HighNot affectedNot affectedNot affectedNot affected
CVE-2023-20565HighNot affectedNot affectedNot affectedNot affected
CVE-2021-26392MediumNot affectedNot affectedNot affectedNot affected
CVE-2021-26393MediumNot affectedNot affectedNot affectedNot affected
CVE-2021-46754MediumNot affectedNot affectedNot affectedNot affected
CVE-2021-46774MediumSnowyOwl PI
1.1.0.7
(2021-10-29)
EmbRomePI-SP3
1.0.0.8
(2022-07-29)
EmbMilanPI-SP3
1.0.0.5
(2022-07-29)
Not affected
CVE-2023-20533MediumNot affectedEmbRomePI-SP3
1.0.0.7
(2022-01-31)
EmbMilanPI-SP3
1.0.0.2
(2021-10-29)
Not affected
CVE-2023-20566MediumNot affectedNot affectedEmbMilanPI-SP3
1.0.0.7
(2023-07-31)
EmbGenoaPI-SP5
1.0.0.2
(2023-08-04)
CVE-2023-20571MediumNot affectedNot affectedNot affectedNot affected
CVE-2021-26345LowNot affectedEmbRomePI-SP3
1.0.0.9
(2022-12-31)
EmbMilanPI-SP3
1.0.0.6
(2022-12-12)
Not affected
CVE-2021-46762LowNot affectedEmbRomePI-SP3
1.0.0.8
(2022-07-29)
EmbMilanPI-SP3
1.0.0.5
(2022-07-29)
Not affected
CVE-2021-46766LowNot affectedNot affectedNot affectedEmbGenoaPI-SP5
1.0.0.2
(2023-08-04)
CVE-2022-23830LowNot affectedNot affectedEmbMilanPI-SP3
1.0.0.6
(2022-12-12)
Not affected
CVE-2023-20521LowSnowyOwl PI
1.1.0.8
(2021-12-24)
EmbRomePI-SP3
1.0.0.7
(2022-01-31)
EmbMilanPI-SP3
1.0.0.3
(2022-01-31)
Not affected
CVE-2023-20526LowSnowyOwl
PI 1.1.0.8
(2021-12-24)
EmbRomePI-SP3
1.0.0.7
(2022-01-31)
EmbMilanPI-SP3
1.0.0.2
(2021-10-29)
Not affected

 

  CVE  AMD Ryzen™ Embedded R1000AMD Ryzen™ Embedded R2000AMD Ryzen™ Embedded 5000
Minimum version to mitigate all listed CVEsEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
EmbAM4PI
1.0.0.3
(2023-07-31)
CVE-2020-12930HighEmbeddedPI-FP5
1.0.1.0
(2023-07-31)
EmbeddedPI-FP5
1.0.1.0
(2023-07-31)
EmbAM4PI
1.0.0.2
(2022-10-31)
CVE-2020-12931HighEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
EmbAM4PI
1.0.0.0
(2022-04-29)
CVE-2021-46757HighNot affectedNot affectedEmbAM4PI
1.0.0.0
(2022-04-29)
CVE-2022-23820HighNot affectedNot affectedNot affected
CVE-2022-23821HighEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
EmbAM4PI
1.0.0.2
(2022-10-31)
CVE-2023-20563HighEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
EmbAM4PI
1.0.0.3
(2023-07-31)
CVE-2023-20565HighNot affectedNot affectedNot affected
CVE-2021-26392MediumEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
EmbAM4PI
1.0.0.2
(2022-10-31)
CVE-2021-26393MediumEmbeddedPI-FP5
1.2.0.9
(2022-07-29)
EmbeddedPI-FP5
1.0.0.1
(2022-07-29)
Not affected
CVE-2021-46754MediumEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
Not affected
CVE-2021-46774MediumNot affectedNot affectedEmbAM4PI
1.0.0.0
(2022-04-29)
CVE-2023-20533MediumNot affectedNot affectedEmbAM4PI
1.0.0.3
(2023-07-31)
CVE-2023-20566MediumNot affectedNot affectedNot affected
CVE-2023-20571MediumNot affectedNot affectedNot affected
CVE-2021-26345LowNot affectedNot affectedNot affected
CVE-2021-46762LowNot affectedNot affectedNot affected
CVE-2021-46766LowNot affectedNot affectedNot affected
CVE-2022-23830LowNot affectedNot affectedNot affected
CVE-2023-20521LowEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.0.0.2
(2023-07-31)
Not affected
CVE-2023-20526LowNot affectedNot affectedNot affected

 

  CVE  AMD Ryzen™ Embedded V1000AMD Ryzen™ Embedded V2000AMD Ryzen™ Embedded V3000
 Minimum version to mitigate all listed CVEsAll V1000 OPNs excluding YE1500C4T4MFHYE1500C4T4MFHEmbeddedPI-FP6
1.0.0.8
(2023-07-31)
EmbeddedPI-FP7r2
1.0.0.5
(2023-07-28)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
CVE-2020-12930HighEmbeddedPI-FP5
1.0.1.0
(2023-07-31)
EmbeddedPI-FP5
1.0.1.0
(2023-07-31)
EmbeddedPI-FP6
1.0.0.6
(2022-04-29)
Not affected
CVE-2020-12931HighEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
Not affected Not affected
CVE-2021-46757High  Not affected  Not affectedEmbeddedPI-FP6
1.0.0.6
(2022-04-29)
Not affected
CVE-2022-23820HighNot affectedNot affectedNot affectedNot affected
CVE-2022-23821HighEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP6
1.0.0.8
(2023-07-31)
EmbeddedPI-FP7r2
1.0.0.0
(2022-04-29)
CVE-2023-20563High  Not affected  Not affectedNot affectedEmbeddedPI-FP7r2
1.0.0.6
(2023-09-15)
CVE-2023-20565HighNot affectedNot affectedNot affectedEmbeddedPI-FP7r2
1.0.0.5
(2023-07-28)
CVE-2021-26392MediumEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP6
1.0.0.6
(2022-04-29)
EmbeddedPI-FP7r2
1.0.0.0
(2022-04-29)
CVE-2021-26393MediumEmbeddedPI-FP5
1.2.0.9
(2022-07-29)
EmbeddedPI-FP5
1.2.0.9
(2022-07-29)
EmbeddedPI-FP6
1.0.0.6
(2022-04-29)
Not affected
CVE-2021-46754MediumEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP6
1.0.0.6
(2022-04-29)
Not affected
CVE-2021-46774MediumNot affectedNot affectedNot affectedNot affected
CVE-2023-20533MediumNot affectedNot affectedNot affectedNot affected
CVE-2023-20566MediumNot affectedNot affectedNot affectedNot affected
CVE-2023-20571MediumNot affectedNot affectedNot affectedEmbeddedPI-FP7r2
1.0.0.5
(2023-07-28)
CVE-2021-26345LowNot affectedNot affectedNot affectedNot affected
CVE-2021-46762LowNot affectedNot affectedNot affectedNot affected
CVE-2021-46766LowNot affectedNot affectedNot affectedNot affected
CVE-2022-23830LowNot affectedNot affectedNot affectedNot affected
CVE-2023-20521LowEmbeddedPI-FP5
1.2.0.A
(2023-07-31)
EmbeddedPI-FP5
1.2.0.A
(2023-07-31)
Not affectedNot affected
CVE-2023-20526LowNot affectedNot affectedNot affectedNot affected

 

Acknowledgement

AMD thanks the following for reporting these issues and engaging in coordinated vulnerability disclosure:

Reported by AMI: CVE-2022-23820, CVE-2022-23821
Reported by Andrew Cooper of Citrix: CVE-2023-20563, CVE-2023-20565, CVE-2023-20571
Reported by Benjamin Serebrin (formerly of Amazon Web Services): CVE-2022-23830
Reported by Lucas Bouillot of the Apple Media Products RedTeam: CVE-2020-12930, CVE-2020-12931
Reported by Mahdi Braik of the Apple Media Products RedTeam: CVE-2021-26392, CVE-2021-26393

Internally found: CVE-2021-26345, CVE-2021-46754, CVE-2021-46757, CVE-2021-46762, CVE-2021-46766 CVE-2021-46774, CVE-2023-20521, CVE-2023-20526, CVE-2023-20533, CVE-2023-20566

Revisions 

Revision Date 

Description 

2024-02-13

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, Ryzen and combinations thereof are trademarks of Advanced Micro Devices, Inc. CVE and the CVE logo are registered trademarks of The MITRE Corporation 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.