CVE-2024-29040

Fapi Verify Quote: Does not detect if quote was not generated by TPM

State
Published
Severity
4.3 Medium
Published
Jun 28, 2024
Updated
Nov 4, 2025
Reserved
Mar 14, 2024

Read the record on cve.org

Description

This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS). The JSON Quote Info returned by Fapi_Quote has to be deserialized by Fapi_VerifyQuote to the TPM Structure `TPMS_ATTEST`. For the field `TPM2_GENERATED magic` of this structure any number can be used in the JSON structure. The verifier can receive a state which does not represent the actual, possibly malicious state of the device under test. The malicious device might get access to data it shouldn't, or can use services it shouldn't be able to. This issue has been patched in version 4.1.0.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
tpm2-tsstpm2-software
  • < 4.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.