AMD EPYC™ 7003 Series Processors: Improper Initialization
CVE-2023-20591 is a critical-severity improper initialization vulnerability in AMD EPYC™ 7003 Series Processors from AMD, with a CVSS 3.1 base score of 10.0 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.3% chance of exploitation within 30 days, which is low compared with other CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update epyc_7003_firmware to milanpi_1.0.0.b or a later version.
- Update epyc_9003_firmware to genoapi_1.0.0.8 or a later version.
- Update epyc_7773x_firmware to milanpi_1.0.0.b or a later version.
- Read the advisory on amd.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| AMD | AMD EPYC™ 7003 Series Processors | Not specified in the record | Not stated |
| AMD | AMD EPYC™ 9004 Series Processors | Not specified in the record | Not stated |
| AMD | AMD EPYC™ Embedded 7003 Series Processors | Not specified in the record | Not stated |
| AMD | AMD EPYC™ Embedded 9003 Series Processors | Not specified in the record | Not stated |
| AMD | epyc_7003_firmware | before milanpi_1.0.0.b | milanpi_1.0.0.b |
| AMD | epyc_9003_firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | epyc_7773x_firmware | before milanpi_1.0.0.b | milanpi_1.0.0.b |
| AMD | epyc_9754s_firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8024pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8024p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8124pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8124p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8224pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8224p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8324pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8324p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8434pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8434p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8534pn Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 8534p Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 9734 Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 9754 Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 9184x Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 9384x Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
| AMD | Epyc 9684x Firmware | before genoapi_1.0.0.8 | genoapi_1.0.0.8 |
Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 6.5 | Medium | CNA (amd.com) |
| CVSS 3.1 | 10.0 | Critical | NVD |
Official description
Improper re-initialization of IOMMU during the DRTM event may permit an untrusted platform configuration to persist, allowing an attacker to read or modify hypervisor memory, potentially resulting in loss of confidentiality, integrity, and availability.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Initialization
The product does not initialize or incorrectly initializes a resource.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, in Java, if the programmer does not explicitly initialize a variable, then the code could produce a compile-time error (if the variable is local) or automatically initialize the variable to the default value for the variable's type. In Perl, if explicit initialization is not performed, then a default value of undef is assigned, which is interpreted as 0, false, or an equivalent value depending on the context in which the variable is accessed.
- Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
- Explicitly initialize all your variables and other data stores, either during declaration or just before the first usage.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in AMD EPYC™ 7003 Series Processors
- 7.0 High severity
- 8.4 High severity
- 8.5 High severity
- 7.0 High severity
- 7.5 High severity
- 8.3 High severity
Recent Improper Initialization vulnerabilities
- 9.4 Critical severity
- 8.2 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.