Epyc 7001 FirmwareOperating system · Amd

CVE-2023-20521

MEDIUM · 5.7 CVSS v3.1 Published 2023-11-14
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
62/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
TOCTOU 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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a Time-of-Check-Time-of-Use (TOCTOU) vulnerability in the ASP Bootloader where an attacker with physical access can tamper with SPI ROM records after the bootloader has verified memory content but before that verified content is used. The race condition between verification and usage allows modification of SPI ROM contents post-verification, potentially leading to confidentiality breaches or denial of service.

MitigationImplement physical security controls to restrict access to the device; redesign the bootloader to perform cryptographic integrity verification immediately before each SPI ROM access rather than relying on a one-time verification, eliminating the TOCTOU window.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Epyc 7001 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7251 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7261 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7281 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7301 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7351 FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7351p FirmwareOperating system
Affected:< naplespi_1.0.0.h
Epyc 7371 FirmwareOperating system
Affected:< naplespi_1.0.0.h

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Physical
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify the exact AMD Epyc processor model
    Run 'dmidecode -t processor' or check system inventory to confirm the specific CPU model (e.g., Epyc 7251, 7261, 7281, 7301, 7351, 7351p, 7371)
    Affected if The processor model is one of the affected Epyc 7001 series variants listed in the CVE
  2. Check the current firmware version
    Use 'dmidecode -s bios-version' or access the BIOS/UEFI setup to retrieve the system firmware version string
    Affected if The firmware version string cannot be determined or is not visible to the operating system (bootloader-level vulnerability)
  3. Determine the ASP Bootloader SPI ROM handling version
    Inspect system firmware dump or contact AMD support to identify the naplespi component version used by the ASP Bootloader
    Affected if The naplespi version is earlier than naplespi_1.0.0.h or cannot be verified from available system tools
  4. Verify if SPI ROM integrity checks occur immediately before each access
    Examine bootloader configuration or firmware behavior through security assessment tools that can inspect the ASP Bootloader timing and verification logic
    Affected if The bootloader performs a one-time verification of SPI ROM contents rather than verifying immediately before each SPI ROM read operation
  5. Assess physical access controls to the system
    Review physical security measures in place for the server or device hosting the affected Epyc processor
    Affected if Physical access to the SPI ROM is not restricted, allowing an attacker to exploit the TOCTOU window

You are affected if you run any of the listed AMD Epyc 7001 series processors (7251, 7261, 7281, 7301, 7351, 7351p, 7371) and the ASP Bootloader naplespi component version is earlier than naplespi_1.0.0.h, combined with insufficient physical access controls to the SPI ROM.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement physical security controls to restrict access to the device; redesign the bootloader to perform cryptographic integrity verification immediately before each SPI ROM access rather than relying on a one-time verification, eliminating the TOCTOU window.

Recommended fix High confidence

naplespi_1.0.0.h or later

  1. Obtain the AMD Epyc 7001 series firmware update (naplespi_1.0.0.h or later) from the official AMD support website
  2. Locate the specific firmware update package for your Epyc model (7251, 7261, 7281, 7301, 7351, 7351p, or 7371)
  3. Follow AMD's standard firmware update procedure for the Epyc processor, which typically involves using the AMD firmware update utility or BMC interface
  4. Reboot the system after applying the firmware update
  5. Verify the installed firmware version matches naplespi_1.0.0.h or later using system inventory tools
Caveat Firmware updates carry risk of system unavailability; ensure backup and downtime window are planned

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Epyc 7001 Firmware Scoped from the published advisory
  • Consultation6.0 h
  • Implementation20.0 h
  • Testing12.0 h
  • Review / QA6.0 h
44.0 hours of engineering $7,680
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $12,288.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-20521 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-20521 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data