Ryzen™ 2000 Series: Always-Incorrect Control Flow Implementation
CVE-2023-20558 is a high-severity always-incorrect control flow implementation vulnerability in Ryzen™ 2000 Series from AMD, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. Affected Ryzen™ 2000 Series versions: various. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.67% chance of exploitation within 30 days, higher than 52% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Ryzen 7 5700g Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
- Update Ryzen 7 5700ge Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
- Update Ryzen 5 5600g Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
- Read the advisory on amd.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| AMD | Ryzen™ 2000 Series | various | Not stated |
| AMD | Ryzen™ 3000 Series | various | Not stated |
| AMD | Ryzen™ 4000 Series | various | Not stated |
| AMD | Ryzen™ 5000 Series | various | Not stated |
| AMD | 2nd Gen AMD Ryzen™ Threadripper™ Processor | Various | Not stated |
| AMD | 3rd Gen AMD Ryzen™ Threadripper™ Processors | various | Not stated |
| AMD | Ryzen™ Threadripper™ PRO Processor | various | Not stated |
| AMD | Ryzen 7 5700g Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 7 5700ge Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 5 5600g Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 5 5600ge Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 3 5300g Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 3 5300ge Firmware | before comboam4_v2_pi_1.2.0.6c | comboam4_v2_pi_1.2.0.6c |
| AMD | Ryzen 9 5980hx Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 9 5980hs Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 7 5825u Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 9 5900hx Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 9 5900hs Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 7 5825c Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 7 5800h Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 5 5625u Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 7 5800hs Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 5 5625c Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 5 5600h Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
| AMD | Ryzen 5 5600hs Firmware | before cezannepi-fp6_1.0.0.9 | cezannepi-fp6_1.0.0.9 |
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
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- 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:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | NVD |
| CVSS 3.1 | 8.8 | High | CISA (ADP) |
Official description
Insufficient control flow management in AmdCpmOemSmm may allow a privileged attacker to tamper with the SMM handler potentially leading to an escalation of privileges.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Always-Incorrect Control Flow Implementation
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.
More Always-Incorrect Control Flow Implementation vulnerabilities (CWE-670)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in Ryzen™ 2000 Series
- 8.8 High severity
Recent Always-Incorrect Control Flow Implementation vulnerabilities
- 7.3 High severity
- 7.8 High severity
- 9.8 Critical severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.