CVE-2024-29040

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

Published Jun 28, 2024 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-26089 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.
Ubuntu USN Ubuntu USN USN-6796-1 TPM2 Software Stack vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2025, 5:19 PM
Reserved
Mar 14, 2024, 4:59 PM
Status
Deferred
Published
Jun 28, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:22 AM
Severity
Moderate
Public date
Apr 30, 2024, 12:00 AM