Panic on a GCP launch endorsement without TDX measurements
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CVE の記録Intel(R) TDX Workload Attestation software | — | Not listed |
| crates.iotdx_workload_attestation |
≥ 0.0.0-0, < 0.2.0→ 0.2.0 |
0.2.0 |
Original description The description as published by the source.
GcpTdxHost::verify_launch_endorsement(), available with the host-gcp-tdx
feature, read uefi_golden.tdx.measurements[0] without checking that the
golden measurement contains a TDX measurement. If a launch endorsement's
golden measurement had no TDX measurements, the call panicked with an index
out of bounds instead of returning an error.
The panic is reached only after the endorsement's signing certificate and
signature have been verified. Triggering it therefore requires a correctly
signed endorsement that lacks TDX measurements.
Intel describes the issue as improper input validation and classifies it as
denial of service, with a CVSS 4.0 base score of 5.7, in INTEL-SA-01520.
The flaw was corrected in
#87, released
in 0.2.0. The function now returns Error::ParseError when the TDX
measurement structure is missing or empty.
Reported by Borys Tsyrulnikov.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory rustsec.org
- package crates.io
- web secure@intel.com
- web nvd.nist.gov
- web github.com
- web intel.com
- web github.com
- web github.com