CVE-2023-3674: keylime - Failure to Flag Device as Untrusted

keylime Updated 02 Oct 2025

Summary

19/07/2023
Yes i
Moderate
2.3

CVE-2023-3674: keylime fails to flag device as untrusted when signature does not validate. Affects keylime versions < 7.2.5. Fixed in 7.2.5. 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

Keylime is a Python package available on PyPI that provides trusted bootstrapping and remote attestation for virtual machines. It is primarily used in cloud environments to ensure the integrity of virtual machine instances. Keylime relies on the Trusted Platform Module (TPM) to generate and verify cryptographic signatures for attestation quotes. This vulnerability in keylime allows a device's submitted TPM quote to be accepted as valid even when the quote's signature does not validate. This flaw can lead to the acceptance of untrusted devices, compromising the security of the system.

Vulnerability Detail

The keylime attestation verifier fails to flag a device as untrusted when the signature of the TPM quote does not validate. Instead of properly identifying the faulty quote, it only emits an error in the log without taking any action to mark the device as untrusted. This vulnerability allows an attacker to bypass the attestation process and gain access to the system using a compromised device. The impact of this vulnerability is a potential compromise of the system's security and integrity.

How To Fix

Latest published version: 7.14.3 as of 22 Oct 2026

pip install --upgrade "keylime==7.14.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.2.5

This is the first release that contains the fix.

pip install --upgrade "keylime==7.2.5"

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

Workaround

There is no known workaround for this vulnerability. It is essential to update the keylime package to the fixed version to mitigate the risk.

Conclusion

The keylime package is vulnerable to a flaw that allows devices with faulty TPM quotes to be accepted as valid. This can lead to the compromise of system security. It is crucial to update the keylime package to version 7.2.5 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for keylime →

Share this vulnerability

FAQ

Keylime is a Python package that provides trusted bootstrapping and remote attestation for virtual machines in cloud environments.

This vulnerability allows an attacker to bypass the attestation process and gain access to the system using a compromised device, compromising the system's security and integrity.

To fix this vulnerability, update the keylime package to version 7.2.5 or later.

No, there is no known workaround. Updating the keylime package is the recommended solution.

For more information, you can visit the Vulert Playground at Vulert Scanner

Related vulnerabilities

Recent vulnerabilities recorded for keylime.

How To Fix

Latest published version: 7.14.3 as of 22 Oct 2026

pip install --upgrade "keylime==7.14.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.2.5

This is the first release that contains the fix.

pip install --upgrade "keylime==7.2.5"

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