Security Vulnerability in tpm2-tools: Arbitrary Quote Data and PCR Selection Issues

tpm2-tools Updated 02 Oct 2025

Summary

12/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:9424: Low: tpm2-tools security update. Affects tpm2-tools versions < 5.2-4.el9. Fixed in 5.2-4.el9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The tpm2-tools package provides a suite of utilities designed for the management and utilization of Trusted Platform Module (TPM) 2.0 devices from user space. These tools are essential for ensuring secure operations in computing environments that rely on hardware-based security features. However, vulnerabilities in these tools can lead to significant security risks, particularly in how they handle quote data and PCR (Platform Configuration Register) selections.

Vulnerability Detail

The tpm2-tools package has been identified with two critical vulnerabilities. The first, CVE-2024-29038, allows arbitrary quote data to go undetected by the tpm2_checkquote utility, potentially enabling unauthorized access or manipulation of sensitive data. The second vulnerability, CVE-2024-29039, involves a failure to compare the PCR selection value with the attest, which could lead to incorrect security assessments and compromise the integrity of the TPM functionalities. These vulnerabilities could be exploited by attackers to bypass security measures, leading to unauthorized access to secure environments.

How To Fix

Minimum fixed version

5.2-4.el9

This is the first release that contains the fix.

sudo dnf update tpm2-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds are provided for these vulnerabilities. The best course of action is to apply the available security updates as soon as possible.

Conclusion

The tpm2-tools package has critical vulnerabilities that could compromise the security of systems utilizing TPM 2.0 devices. It is essential to update to the latest patched version to safeguard against potential exploits. Regular monitoring and updates are vital for maintaining security in open-source software.

See every vulnerability recorded for tpm2-tools →

Share this vulnerability

FAQ

The main vulnerabilities include the potential for arbitrary quote data to go undetected and the failure to compare PCR selection values with attestation data.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

Exploitation of these vulnerabilities could lead to unauthorized access to sensitive data and compromise the integrity of security measures provided by TPM.

Yes, a patch is available in the form of an updated package version 5.2-4.el9 for tpm2-tools.

While no specific workarounds are available, it is crucial to prioritize updating the package to mitigate the risks associated with these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for tpm2-tools.

How To Fix

Minimum fixed version

5.2-4.el9

This is the first release that contains the fix.

sudo dnf update tpm2-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback