Every CVE Search/ Get API key

CVE-2024-29038

tpm2 does not detect if quote was not generated by TPM

4.3 MediumFix available

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.37%Up 0.3 points since Jun 29, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.3

tpm2 does not detect if quote was not generated by TPM

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
CVE-2024-29038
CVSS 3.1
4.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Weakness
CWE-1283, CWE-1390
Updated
2026-11-02
EUVDEUVD-2024-26087 4.3

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
EUVD-2024-26087
CVSS 3.1
4.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Updated
2026-11-02
NVD 4.3

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
CVE-2024-29038
CVSS 3.1
4.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-1283, CWE-1390
Updated
2026-11-02
OSVALPINE-CVE-2024-29038 3.3

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
ALPINE-CVE-2024-29038
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSV 4.3

tpm2 does not detect if quote was not generated by TPM

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
CVE-2024-29038
CVSS 3.1
4.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Weakness
CWE-1283, CWE-1390
Updated
2026-11-02
OSVDEBIAN-CVE-2024-29038 3.3

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
DEBIAN-CVE-2024-29038
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 14 moreShow less
OSVOESA-2024-2081 5.5

tpm2-tools security update

The package contains the code for the TPM (Trusted Platform Module) 2.0 tools based on tpm2-tss.

Security Fix(es):

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.(CVE-2024-29038)

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.(CVE-2024-29039)

Record
OESA-2024-2081
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2024-2082 5.5

tpm2-tools security update

The package contains the code for the TPM (Trusted Platform Module) 2.0 tools based on tpm2-tss.

Security Fix(es):

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.(CVE-2024-29038)

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.(CVE-2024-29039)

Record
OESA-2024-2082
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2024-2083 5.5

tpm2-tools security update

The package contains the code for the TPM (Trusted Platform Module) 2.0 tools based on tpm2-tss.

Security Fix(es):

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.(CVE-2024-29038)

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.(CVE-2024-29039)

Record
OESA-2024-2083
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVRHSA-2024:9424 4.4

Red Hat Security Advisory: tpm2-tools security update

Record
RHSA-2024:9424
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVRLSA-2024:9424 4.4

Low: tpm2-tools security update

The tpm2-tools packages add a set of utilities for management and utilization of Trusted Platform Module (TPM) 2.0 devices from user space.

Security Fix(es):

  • tpm2-tools: arbitrary quote data may go undetected by tpm2_checkquote (CVE-2024-29038)

  • tpm2-tools: pcr selection value is not compared with the attest (CVE-2024-29039)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 9.5 Release Notes linked from the References section.

Record
RLSA-2024:9424
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2024-29038 4.3

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
UBUNTU-CVE-2024-29038
CVSS 3.1
4.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVALSA-2024:9424 No score

Low: tpm2-tools security update

The tpm2-tools packages add a set of utilities for management and utilization of Trusted Platform Module (TPM) 2.0 devices from user space.

Security Fix(es):

  • tpm2-tools: arbitrary quote data may go undetected by tpm2_checkquote (CVE-2024-29038)
  • tpm2-tools: pcr selection value is not compared with the attest (CVE-2024-29039)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2024:9424
Updated
2026-11-02
OSVAZL-43018 No score

CVE-2024-29038 affecting package tpm2-tools for versions less than 4.3.2-2

tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by tpm2 checkquote. This issue was patched in version 5.7.

Record
AZL-43018
Updated
2026-11-02
OSVCLSA-2026-1782977868 No score

tpm2-tools: Fix of CVE-2024-29038

  • CVE-2024-29038: tpm2_checkquote: add TPM2_GENERATED_VALUE magic check to prevent acceptance of forged quotes
Record
CLSA-2026-1782977868
Updated
2026-11-02
OSVMGASA-2024-0170 No score

Updated tpm2-tools packages fixes security vulnerabilities

A flaw was found in the tpm2-tools package. This issue occurs due to a missing check whether the magic number in attest is equal to TPM2_GENERATED_VALUE, which can allow an attacker to generate arbitrary quote data that may not be detected by tpm2_checkquote (CVE-2024-29038). The pcr selection which is passed with the --pcr parameter is not compared with the attest. So it is possible to fake a valid attestation (CVE-2024-29039). A vulnerability classified as problematic was found in tpm2-tools. This vulnerability affects an unknown code of the file tools/misc/tpm2_checkquote.c of the component pcr Selection Value Handler. The manipulation with an unknown input leads to a comparison vulnerability. The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.

Record
MGASA-2024-0170
Updated
2026-11-02
OSVopenSUSE-SU-2024:13926-1 No score

tpm2.0-tools-5.7-1.1 on GA media

These are all security issues fixed in the tpm2.0-tools-5.7-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13926-1
Updated
2026-11-02
OSVSUSE-SU-2024:1636-1 No score

Security update for tpm2.0-tools

This update for tpm2.0-tools fixes the following issues:

  • CVE-2024-29038: Fixed arbitrary quote data validation by tpm2_checkquote (bsc#1223687).
  • CVE-2024-29039: Fixed pcr selection value to be compared with the attest (bsc#1223689).
Record
SUSE-SU-2024:1636-1
Updated
2026-11-02
OSVSUSE-SU-2024:1636-2 No score

Security update for tpm2.0-tools

This update for tpm2.0-tools fixes the following issues:

  • CVE-2024-29038: Fixed arbitrary quote data validation by tpm2_checkquote (bsc#1223687).
  • CVE-2024-29039: Fixed pcr selection value to be compared with the attest (bsc#1223689).
Record
SUSE-SU-2024:1636-2
Updated
2026-11-02
OSVSUSE-SU-2025:20151-1 No score

Security update for tpm2.0-tools, tpm2-0-tss

This update for tpm2.0-tools, tpm2-0-tss fixes the following issues:

tpm2-0-tss: Update to version 4.1:

  • Security

    • CVE-2024-29040: arbitrary quote data may go undetected by Fapi_VerifyQuote (bsc#1223690)
  • Fixed

    • fapi: Fix length check on FAPI auth callbacks
    • mu: Correct error message for errors
    • tss2-rc: fix unknown laer handler dropping bits.
    • fapi: Fix deviation from CEL specification (template_value was used instead of template_data).
    • fapi: Fix json syntax error in FAPI profiles which was ignored by json-c.
    • build: fix build fail after make clean.
    • mu: Fix unneeded size check in TPM2B unmarshaling.
    • fapi: Fix missing parameter encryption.
    • build: Fix failed build with --disable-vendor.
    • fapi: Fix flush of persistent handles.
    • fapi: Fix test provisioning with template with self generated certificate disabled.
    • fapi: Fix error in Fapi_GetInfo it TPM supports SHA3 hash algs.
    • fapi: Revert pcr extension for EV_NO_ACTION events.
    • fapi: Fix strange error messages if nv, ext, or policy path does not exits.
    • fapi: Fix segfault caused by wrong allocation of pcr policy.
    • esys: Fix leak in Esys_EvictControl for persistent handles.
    • tss2-tcti: tcti-libtpms: fix test failure on big-endian platform.
    • esys: Add reference counting for Esys_TR_FromTPMPublic.
    • esys: Fix HMAC error if session bind key has an auth value with a trailing 0.
    • fapi: fix usage of self signed certificates in TPM.
    • fapi: Usage of self signed certificates.
    • fapi: A segfault after the error handling of non existing keys.
    • fapi: Fix several leaks.
    • fapi: Fix error handling for policy execution.
    • fapi: Fix usage of persistent handles (should not be flushed)
    • fapi: Fix test provisioning with template (skip test without self generated certificate).
    • fapi: Fix pcr extension for EV_NO_ACTION
    • test: Fix fapi-key-create-policy-signed-keyedhash with P_ECC384 profile
    • tcti_spi_helper_transmit: ensure FIFO is accessed only after TPM reports commandReady bit is set
    • fapi: Fix read large system eventlog (> UINT16_MAX).
    • esys tests: Fix layer check for TPM2_RC_COMMAND_CODE (for /dev/tpmrm0)
    • test: unit: tcti-libtpms: fix test failed at 32-bit platforms.
    • fapi: Fix possible null pointer dereferencing in Fapi_List.
    • sys: Fix size check in Tss2_Sys_GetCapability.
    • esys: Fix leak in Esys_TR_FromTPMPublic.
    • esys: fix unchecked return value in esys crypto.
    • fapi: Fix wrong usage of local variable in provisioning.
    • fapi: Fix memset 0 in ifapi_json_TPMS_POLICYNV_deserialize.
    • fapi: Fix possible out of bound array access in IMA parser.
    • tcti device: Fix possible unmarshalling from uninitialized variable.
    • fapi: Fix error checking authorization of signing key.
    • fapi: Fix cleanup of policy sessions.
    • fapi: Eventlog H-CRTM events and different localities.
    • fapi: Fix missing synchronization of quote and eventlog.
    • faii: Fix invalid free in Fapi_Quote with empty eventlog.
  • Added

    • tcti: LetsTrust-TPM2Go TCTI module spi-ltt2go.
    • mbedtls: add sha512 hmac.
    • fapi: Enable usage of external keys for Fapi_Encrypt.
    • fapi: Support download of AMD certificates.
    • tcti: Add USB TPM (FTDI MPSSE USB to SPI bridge) TCTI module.
    • fapi: The recreation of primaries (except EK) in the owner hierarchy instead the endorsement hierarchy is fixed.
    • rc: New TPM return codes added.
    • fapi: Further Nuvoton certificates added.
    • tpm_types/esys: Add support for Attestable TPM changes in latest TPM spec.
    • tcti: Add '/dev/tcm0' to default conf
    • fapi: New Nuvoton certificates added.
    • esys: Fix leak in Esys_TR_FromTPMPublic.
  • Removed

    • Testing on Ubuntu 18.04 as it's near EOL (May 2023).

tpm2.0-tools: Update to version 5.7:

  • Security
    • CVE-2024-29038: arbitrary quote data may go undetected by tpm2_checkquote…
Record
SUSE-SU-2025:20151-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tpm2-tools
Alpine:v3.21
4.1 up to 5.7-r0
5.7-r0
tpm2-tools
Alpine:v3.22
4.1 up to 5.7-r0
5.7-r0
tpm2-tools
Alpine:v3.23
4.1 up to 5.7-r0
5.7-r0
tpm2-tools
Alpine:v3.24
4.1 up to 5.7-r0
5.7-r0
tpm2-tools
AlmaLinux:9
From an advisory covering 2 CVEs
before 5.2-4.el9
5.2-4.el9
tpm2-tools
Azure Linux:2
before 4.3.2-2
4.3.2-2
tpm2-tools
TuxCare:AlmaLinux:9.2
before 5.2-2.el9_1.tuxcare.els2
5.2-2.el9_1.tuxcare.els2
tpm2-tools
Debian:12
All versions, plus listed versions
5.4-15.6-15.7-15.8-1
None known
tpm2-tools
Debian:13
before 5.7-1
5.7-1
tpm2-tools
Debian:14
before 5.7-1
5.7-1
Show 28 moreShow less
Affected packages
PackageAffectedFixed
tpm2-tools
Mageia:9
From an advisory covering 2 CVEs
before 5.5.1-1.mga9
5.5.1-1.mga9
tpm2-tools
openEuler:22.03-LTS-SP3
From an advisory covering 2 CVEs
before 5.0-6.oe2203sp3
5.0-6.oe2203sp3
tpm2-tools
openEuler:20.03-LTS-SP4
From an advisory covering 2 CVEs
before 5.0-5.oe2003sp4
5.0-5.oe2003sp4
tpm2-tools
openEuler:22.03-LTS-SP1
From an advisory covering 2 CVEs
before 5.0-6.oe2203sp1
5.0-6.oe2203sp1
tpm2-tools
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools-debuginfo
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools-debugsource
Red Hat:enterprise_linux:9::baseos
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2-tools
Rocky Linux:9
From an advisory covering 2 CVEs
before 0:5.2-4.el9
0:5.2-4.el9
tpm2.0-tools
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
openSUSE:Leap Micro 5.3
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
openSUSE:Leap Micro 5.4
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
tpm2.0-tools
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 5.2-150400.6.3.1
5.2-150400.6.3.1
efivar
SUSE:Linux Micro 6.0
From an advisory covering 3 CVEs
before 38-3.1
38-3.1
tpm2-0-tss
SUSE:Linux Micro 6.0
From an advisory covering 3 CVEs
before 4.1.0-1.1
4.1.0-1.1
tpm2.0-tools
SUSE:Linux Micro 6.0
From an advisory covering 3 CVEs
before 5.7-1.1
5.7-1.1
tpm2-tools
Ubuntu:20.04:LTS
All versions, plus listed versions
3.1.3-24.0.1-14.1-14.1.1-14.1.1-1ubuntu0.20.04.1
None known
tpm2-tools
Ubuntu:22.04:LTS
All versions, plus listed versions
5.0-25.2-15.2-1build1
None known
tpm2-tools
Ubuntu:24.04:LTS
All versions, plus listed versions
5.4-15.6-15.6-1build15.6-1build35.6-1build4
None known
tpm2-tools
Ubuntu:25.10
All versions, plus listed versions
5.7-1
None known
tpm2-tools
Ubuntu:26.10
All versions, plus listed versions
5.7-1build15.7-1ubuntu15.7-1ubuntu2
None known
tpm2-tools
Ubuntu:26.04:LTS
All versions, plus listed versions
5.7-15.7-1build1
None known
tpm2.0-tools
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 5.7-1.1
5.7-1.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-29038 is a medium vulnerability (CVSS 4.3) in Tpm2-software Tpm2-tools, published May 9, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. Fixed in tpm2-tools 5.7-r0.

References

Show 35 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open