Skip to content
Fencer Vulns
critical 9.1

CVE-2024-29039 json

Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state

published 2024-06-28 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-26088

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • tpm2-tools_project tpm2-tools 5.7
  • tpm2-tools Debian 14, Debian 13 5.7-1

debian advisories DEBIAN-CVE-2024-29039

  • tpm2-tools RHEL 9 5.2-4.el9

red hat advisories RHSA-2024:9424

  • tpm2-0-tss Linux Micro 6.0 4.1.0-1.1
  • efivar Linux Micro 6.0 38-3.1
  • tpm2.0-tools Linux Micro 6.0 5.7-1.1
  • tpm2.0-tools SLE Module for Basesystem 15 SP5, SLE Micro 5.5, SLE Micro 5.4 +4 more 5.2-150400.6.3.1

suse advisories SUSE-SU-2025:20151-1SUSE-SU-2024:1636-2SUSE-SU-2024:1636-1

  • tpm2.0-tools openSUSE Tumbleweed 5.7-1.1

opensuse advisories openSUSE-SU-2024:13926-1

  • tpm2-tools AlmaLinux 9 5.2-4.el9

almalinux advisories ALSA-2024:9424

  • tpm2-tools Rocky Linux 9 5.2-4.el9

rocky linux advisories RLSA-2024:9424

  • tpm2-tools Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 5.7-r0

alpine advisories ALPINE-CVE-2024-29039

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • tpm2-tools Azure Linux 3.0 5.5.1-1
  • tpm2-tools CBL-Mariner 2.0 4.3.2-2

azure linux advisories AZL-43015AZL-43021

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-29039 updated cvss 3.3

tpm2-tools: pcr selection value is not compared with the attest

  • Red Hat Enterprise Linux 7 tpm2-tools
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 tpm2-tools
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 9) tpm2-tools 5.2-4.el9 Red Hat Enterprise Linux BaseOS (v. 9) tpm2-tools 5.2-4.el9
    fixed: vendor fix RHSA-2024:9424
  • Red Hat Enterprise Linux 10 tpm2-tools
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • tpm2-software tpm2-tools
  • tpm2_software tpm2_tools

Classification

Weakness
  • CWE-807 Reliance on Untrusted Inputs in a Security Decision

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.