libspdm is a sample implementation that follows the DMTF SPDM specifications. Prior to 3.8.3 and 4.0.0-rc2, libspdm_x509_verify_cert_chain() in os_stu...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10edk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10edk2-hwe |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSedk2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSedk2-hwe |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
libspdm is a sample implementation that follows the DMTF SPDM specifications. Prior to 3.8.3 and 4.0.0-rc2, libspdm_x509_verify_cert_chain() in os_stub/cryptlib_openssl/pk/x509.c and os_stub/cryptlib_mbedtls/pk/x509.c validates certificate signatures one link at a time instead of validating the complete X.509 path. In deployments using a pinned root with a constrained multi-tier PKI, an attacker holding a valid issuer credential below a constrained CA can present a subordinate certificate that exceeds pathLenConstraint or nameConstraints and may be accepted for SPDM identity validation. Exploitation requires the application to use libspdm's backend validation without an additional certificate-chain validation mechanism, the pinned root cannot be substituted, and the deployment's measurement policy must allow identity impersonation alone to satisfy its acceptance requirements. The mbedTLS backend remains unable to enforce nameConstraints because upstream mbedTLS does not implement that check. The full-chain validation changes are released in versions 3.8.3 and 4.0.0-rc2.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org