PT-2023-5348 · Libspdm · Libspdm

Alexander Dax

+2

·

Published

2023-05-08

·

Updated

2023-05-15

·

CVE-2023-31127

CVSS v3.1

9.0

Critical

VectorAV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libspdm versions 1.0 through 2.3
Description A vulnerability has been identified in SPDM session establishment in libspdm. If a device supports both DHE session and PSK session with mutual authentication, an attacker may be able to establish the session with KEY EXCHANGE and PSK FINISH to bypass the mutual authentication. This issue only impacts the SPDM responder, which supports KEY EX CAP=1 and PSK CAP=10b at the same time with mutual authentication requirement. The SPDM responder is not impacted if KEY EX CAP=0 or PSK CAP=0 or PSK CAP=01b, or if mutual authentication is not required.
Recommendations For libspdm versions 1.0 through 2.3, update to version 2.3.1 or later to resolve the issue. As a temporary workaround, consider disabling the KEY EXCHANGE and PSK FINISH functions until a patch is available. Restrict access to the SPDM responder to minimize the risk of exploitation. Avoid using the KEY EX CAP and PSK CAP parameters in the affected SPDM sessions until the issue is resolved.

Exploit

Fix

Improper Authentication

Weakness Enumeration

Related Identifiers

BDU:2023-05976
CVE-2023-31127
GHSA-QW76-4V8P-XQ9F

Affected Products

Libspdm