CyberSecBulletin
CVE-2023-20558NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Ryzen 7 5700g Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
  2. Update Ryzen 7 5700ge Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
  3. Update Ryzen 5 5600g Firmware to comboam4_v2_pi_1.2.0.6c or a later version.
  4. Read the advisory on amd.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
AMDRyzen™ 2000 SeriesvariousNot stated
AMDRyzen™ 3000 SeriesvariousNot stated
AMDRyzen™ 4000 SeriesvariousNot stated
AMDRyzen™ 5000 SeriesvariousNot stated
AMD2nd Gen AMD Ryzen™ Threadripper™ ProcessorVariousNot stated
AMD3rd Gen AMD Ryzen™ Threadripper™ ProcessorsvariousNot stated
AMDRyzen™ Threadripper™ PRO ProcessorvariousNot stated
AMDRyzen 7 5700g Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 7 5700ge Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 5 5600g Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 5 5600ge Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 3 5300g Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 3 5300ge Firmwarebefore comboam4_v2_pi_1.2.0.6ccomboam4_v2_pi_1.2.0.6c
AMDRyzen 9 5980hx Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 9 5980hs Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 7 5825u Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 9 5900hx Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 9 5900hs Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 7 5825c Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 7 5800h Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 5 5625u Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 7 5800hs Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 5 5625c Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 5 5600h Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-fp6_1.0.0.9
AMDRyzen 5 5600hs Firmwarebefore cezannepi-fp6_1.0.0.9cezannepi-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 systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 3.18.8HighCISA (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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Ryzen™ 2000 Series

All Ryzen™ 2000 Series vulnerabilities

Recent Always-Incorrect Control Flow Implementation vulnerabilities

Spotted an error? Tell us.