Arbitrary Quote Data Generation Vulnerability in tpm2-tools
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
More information about this vulnerability can be found in the Debian CVE database at https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-29038.json.
References
Related vulnerabilities
Recent vulnerabilities recorded for tpm2-tools.