CVE-2024-29039
Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state
Reported by github_m · Published June 28, 2024
tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2_checkquote outputs by altering the TPML_PCR_SELECTION in the PCR input file. As a result, digest values are incorrectly mapped to PCR slots and banks, providing a misleading picture of the TPM state. This issue has been patched in version 5.7.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tpm2-tools | Amazon Linux | 5.5-4.amzn2023.0.2 |
| tpm2-tools | Alpine | 5.7-r0 |
| tpm2-tools | tpm2-tools_project | 5.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tpm2-software | tpm2-tools | < 5.7 |
| amazon:2023 | tpm2-tools | 0 |
| alpine | tpm2-tools | 0 |
| tpm2_software | tpm2_tools | 5.7 |
| tpm2-software | tpm2-tools | 0 |
Timeline
- Jun 15, 2024 CVE Published
- Jun 29, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (17 in total, the first dated here)
- Jan 14, 2026 Security Advisory (12 in total, the first dated here)
- Jan 14, 2026 CVE Updated
- Sep 2, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-29039
vulnetix vdb fixes CVE-2024-29039
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-29039/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6 x_refsource_CONFIRM
- https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GI4JFEZBKQQUPJ4RWK6IHEWXAFCEJDPI/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFR7SVEWCOXORHPCLLGXEMHFMIGG2MFE/ url