Incomplete Internal State Distinction Affecting DMTF/libspdm package, versions [,2.3.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-DMTFLIBSPDM-5508563
  • published10 May 2023
  • disclosed10 May 2023
  • creditCas Cremers, Naska Aurora, Dax Alexander

Introduced: 10 May 2023

CVE-2023-31127  (opens in a new tab)
CWE-372  (opens in a new tab)

How to fix?

Upgrade DMTF/libspdm to version 2.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Incomplete Internal State Distinction such that 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.

Note:

This issue only impacts the SPDM responder, which supports KEY_EX_CAP=1 and PSK_CAP=10bat same time with mutual authentication requirement. The SPDM requester is not impacted. The SPDM responder is not impacted ifKEY_EX_CAP=0orPSK_CAP=0orPSK_CAP=01b`. The SPDM responder is not impacted if mutual authentication is not required. The SPDM specification (DSP0274) does not contain this vulnerability.

CVSS Scores

version 3.1