Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-31127

9.0 · CRITICAL
Published May 8, 2023 dmtf CWE-287 EPSS 0.94% (59th pctl)

Overview

CVE-2023-31127 is a critical-severity vulnerability affecting dmtf libspdm. It was published on May 8, 2023 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

libspdm is a sample implementation that follows the DMTF SPDM specifications. A vulnerability has been identified in SPDM session establishment in libspdm prior to version 2.3.1. If a device supports both DHE session and PSK session with mutual

authentication, the attacker may be able to establish the session with `KEY_EXCHANGE` and `PSK_FINISH` to bypass the mutual authentication. This is most likely to happen when the Requester begins a session using one method (DHE, for example) and then uses the other method's finish (PSK_FINISH in this example) to establish the session. The session hashes would be expected to fail in this case, but the condition was not detected.

This issue only impacts the SPDM responder, which supports `KEY_EX_CAP=1 and `PSK_CAP=10b` at same time with mutual authentication requirement. The SPDM requester is not impacted. The SPDM responder is not impacted if `KEY_EX_CAP=0` or `PSK_CAP=0` or `PSK_CAP=01b`. The SPDM responder is not impacted if mutual authenticat

Remediation

Check the references section for vendor advisories and patches from dmtf. Update libspdm to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
dmtf libspdm >= 0, < 2.3.2 Affected

Frequently Asked Questions

What is CVE-2023-31127?

CVE-2023-31127 is a critical-severity vulnerability affecting dmtf libspdm. It was published on May 8, 2023 and has a CVSS 3.1 base score of 9.0 (CRITICAL).

How severe is CVE-2023-31127?

This vulnerability has a CVSS 3.1 base score of 9.0, rated CRITICAL. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-31127?

Check the references section for vendor advisories and patches from dmtf. Update libspdm to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-31127?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-31127 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.