CyberSecBulletin
CVE-2024-36355NVD status: Deferred

AMD EPYC™ 9004 Series Processors: Out-of-bounds Write

CVE-2024-36355 is a high-severity out-of-bounds write vulnerability in AMD EPYC™ 9004 Series Processors from AMD, with a CVSS 4.0 base score of 7.0 out of 10. It can be exploited with local access to the system by an attacker with administrator privileges, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.17% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of AMD EPYC™ 9004 Series Processors you run against the affected versions below, and install the vendor's latest release.

Affected products and versions

VendorProductAffected versionsFixed in
AMDAMD EPYC™ 9004 Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ Threadripper™ PRO 5000 WX-Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 5000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ Threadripper™ PRO 3000 WX-Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ Z1 Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 9000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 7000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 3000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 5000 Series Desktop Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 3000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 8000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 7040 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ Threadripper™ 7000 processorNot specified in the recordNot stated
AMDAMD Ryzen™ Threadripper™ PRO 7000 WX-Series processorsNot specified in the recordNot stated
AMDAMD Ryzen™ 8040 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 4000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 6000 Series Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 8000 Series DesktopNot specified in the recordNot stated
AMDAMD Ryzen™ 7020 Series Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 7045 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Athlon™ 3000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 4000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 5000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ Z2 Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ Z2 Series Processors GoNot specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 10 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Attack requirements
PresentThe target must be in a specific state or configuration for the attack to work.
Privileges required
HighAdministrator-level access is required first.
User interaction
NoneNo action by a victim is required.
Confidentiality (vulnerable system)
NoneNo loss of confidentiality on the vulnerable system.
Integrity (vulnerable system)
HighSerious loss of integrity on the vulnerable system.
Availability (vulnerable system)
NoneNo loss of availability on the vulnerable system.
Confidentiality (other systems)
HighSerious loss of confidentiality on systems beyond the vulnerable one.
Integrity (other systems)
HighSerious loss of integrity on systems beyond the vulnerable one.
Availability (other systems)
HighSerious loss of availability on systems beyond the vulnerable one.

Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X. Scored by CNA (amd.com).

Official description

Improper input validation in the SMM handler could allow an attacker with Ring0 access to write to SMRAM and modify execution flow for S3 (sleep) wake up, potentially resulting in arbitrary code execution.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Write

The product writes data past the end, or before the beginning, of the intended buffer.

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, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
  • Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.

More Out-of-bounds Write vulnerabilities (CWE-787)

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 AMD EPYC™ 9004 Series Processors

All AMD EPYC™ 9004 Series Processors vulnerabilities

Recent Out-of-bounds Write vulnerabilities

Spotted an error? Tell us.