CVE-2024-29040

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-29040
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-29040.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-29040
Aliases
  • GHSA-837m-jw3m-h9p6
Downstream
Related
Published
2024-06-28T21:02:04Z
Modified
2025-11-06T06:16:30.899027Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
Fapi Verify Quote: Does not detect if quote was not generated by TPM
Details

This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS). The JSON Quote Info returned by FapiQuote has to be deserialized by FapiVerifyQuote 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.

Database specific
{
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Git / github.com/tpm2-software/tpm2-tss

Affected ranges

Type
GIT
Repo
https://github.com/tpm2-software/tpm2-tss
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0
1.1.0

2.*

2.0.0
2.4.0

3.*

3.0.0
3.1.0
3.2.0

4.*

4.0.0
4.0.1
4.1.0-rc0
4.1.0-rc1