Fapi Verify Quote: Does not detect if quote was not generated by TPM
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tpm2-software | tpm2-tss | before 4.1.0 | 4.1.0 | Patch available | CNA |
- tpm2-tss Vendortpm2-software Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
CPE names CISA-ADP · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tpm2_software:tpm2_tools:*:*:*:*:*:*:*:* | — | — | tpm2-software |
| cpe:2.3:a:tpm2_software_stack_project:tpm2_software_stack:*:*:*:*:*:*:*:* | — | — | Tpm2 Software Stack Project |
- cpe:2.3:a:tpm2_software:tpm2_tools:*:*:*:*:*:*:*:* Versions — — ·tpm2-software
- cpe:2.3:a:tpm2_software_stack_project:tpm2_software_stack:*:*:*:*:*:*:*:* Versions — — ·Tpm2 Software Stack Project
Remediation
- Fix · CNA tpm2-tss (tpm2-software) Fixed in 4.1.0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29040
- 2026-11-06 Affected versions changed · Red Hat
References
Sources
- CVE-2024-29040 · CVE Program
- CVE-2024-29040 · NVD
- FIRST EPSS
- CVE-2024-29040 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences