CVE-2024-29039Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | tpm2-tools | Fix pending | UBUNTU-CVE-2024-29039 | |
| Ubuntu 26.04 | tpm2-tools | Fix pending | UBUNTU-CVE-2024-29039 | |
| Ubuntu 25.10 | tpm2-tools | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-29039 | |
| Ubuntu 24.04 | tpm2-tools | Fix pending | UBUNTU-CVE-2024-29039 | |
| Ubuntu 22.04 | tpm2-tools | Fix pending | UBUNTU-CVE-2024-29039 | |
| Ubuntu 20.04 | tpm2-tools | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-29039 | |
| Debian 14 | tpm2-tools | Fixed | 5.7-1 | DEBIAN-CVE-2024-29039 |
| Debian 13 | tpm2-tools | Fixed | 5.7-1 | DEBIAN-CVE-2024-29039 |
| Debian 12 | tpm2-tools | Fix pending | DEBIAN-CVE-2024-29039 | |
| Red Hat Enterprise Linux 10 | tpm2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | tpm2-tools | Fixed | 0:5.2-4.el9 | RHSA-2024:9424 |
| Red Hat Enterprise Linux 8 | tpm2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | tpm2-tools | Will not fix Out of support scope | ||
| AlmaLinux 9 | tpm2-tools | Fixed | 5.2-4.el9 | ALSA-2024:9424 |
| Rocky Linux 9 | tpm2-tools | Fixed | 0:5.2-4.el9 | RLSA-2024:9424 |
| Alpine Linux 3.24 | tpm2-tools | Fixed | 5.7-r0 | ALPINE-CVE-2024-29039 |
| Alpine Linux 3.23 | tpm2-tools | Fixed | 5.7-r0 | ALPINE-CVE-2024-29039 |
| Alpine Linux 3.22 | tpm2-tools | Fixed | 5.7-r0 | ALPINE-CVE-2024-29039 |
| Alpine Linux 3.21 | tpm2-tools | Fixed | 5.7-r0 | ALPINE-CVE-2024-29039 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tpm2-software tpm2-tools: affected: < 5.7
References
- https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6
- https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.