Arbitrary Quote Data Generation Vulnerability in tpm2-tools

tpm2-tools Updated 02 Oct 2025

Summary

28/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-29038: tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. Affects tpm2-tools versions < 5.7-1. Fixed in 5.7-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

tpm2-tools is a suite of tools designed for managing Trusted Platform Module (TPM) 2.0 devices. It provides a set of commands for interacting with TPMs, enabling secure operations such as key management, attestation, and secure storage. The tools are essential for developers and system administrators who require secure hardware-based cryptographic functions. However, a recent vulnerability has been identified that allows malicious actors to exploit the tool's functionality.

Vulnerability Detail

The vulnerability in tpm2-tools allows a malicious attacker to generate arbitrary quote data that is not detected by the tpm2 checkquote command. This could lead to unauthorized access or manipulation of sensitive data, as the integrity of the quotes generated by the TPM can be compromised. The issue originates from flaws in the way the tool handles quote data, making it susceptible to exploitation. This vulnerability was patched in version 5.7.

How To Fix

Minimum fixed version

5.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tpm2-tools

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

Workaround

As a temporary measure, users are advised to avoid using the tpm2 checkquote command until the package is updated to the patched version. Additionally, consider implementing strict access controls to limit the exposure of the TPM functionalities.

Conclusion

The vulnerability in tpm2-tools poses a significant risk by allowing arbitrary quote data generation, which can compromise data integrity. Users are strongly encouraged to update to the patched version 5.7-1 to mitigate this risk. For those unable to update immediately, implementing workarounds is advisable.

See every vulnerability recorded for tpm2-tools →

Share this vulnerability

FAQ

tpm2-tools is a collection of tools for managing and utilizing Trusted Platform Module (TPM) 2.0 devices, providing commands for secure operations.

The vulnerability allows an attacker to generate arbitrary quote data that can bypass detection, potentially compromising the integrity of sensitive data.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If an immediate update is not possible, avoid using the tpm2 checkquote command and implement strict access controls to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for tpm2-tools.

How To Fix

Minimum fixed version

5.7-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade 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