Deserialization in Tpm2-Software Tpm2-Tss
CVE-2024-29040
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.
Vulnerability class: Insecure Deserialization
EPSS: 0.003 (27.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N.
Affected products
- Tpm2-software Tpm2-tss — versions < 4.1.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-29040?
- CVE-2024-29040 is a medium-severity vulnerability in Tpm2-Software Tpm2-Tss, classified under Deserialization of Untrusted Data. CVSS score: 4.3/10. Published 2024-06-28.
- How severe is CVE-2024-29040?
- Medium severity. CVSS v3 base score is 4.3 out of 10.