CVE-2024-29039: Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state

Published May 1, 2024
·
Updated

The pcr selection which is passed with the --pcr parameter it not compared with the attest. So it's possible to fake a valid attestation.

References: https://github.com/tpm2-software/tpm2-tools/commit/98599df9392a346216c5a059b8d35271286100bb

Other sources

tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2checkquote outputs by altering the TPMLPCRSELECTION 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.

MITRE

Affected Software

2 affected componentsFixes available
redhat/tpm2-tools<5.7
5.7
Tpm2-tools Project Tpm2-tools<5.7

Event History

Jun 28, 2024
CVE Published
via MITRE·03:48 PM
Data Sourced
via MITRE·03:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-29039?

CVE-2024-29039 has a critical severity rating due to the possibility of faking valid attestations.

2

How do I fix CVE-2024-29039?

To fix CVE-2024-29039, upgrade to tpm2-tools version 5.7 or later.

3

What does the CVE-2024-29039 vulnerability affect?

CVE-2024-29039 affects the tpm2-tools package, specifically the --pcr parameter handling.

4

Can CVE-2024-29039 be exploited remotely?

Yes, CVE-2024-29039 can be exploited remotely, allowing attackers to fake attestation.

5

Is there a workaround for CVE-2024-29039?

There are no known workarounds for CVE-2024-29039; updating to the fixed version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203