Junglewise Threat Intelligence

CVE-2025-1057: Keylime registrar denial of service during version update

CVE-2025-1057 · Severity: medium · CVSS 4.3 · Published 2025-02-14

Technologies: keylime (PyPI). Vendors: PyPI.

Executive brief

Keylime, a tool used for monitoring the integrity of remote machines, contains a flaw in its registrar component that can lead to a service outage during software updates. An attacker can pre-populate the system with specific data that causes the registrar to crash or fail once it is updated to version 7.12.0. This results in a denial-of-service, preventing the system from correctly managing or querying registered agents.

Technical details

The Keylime registrar in version 7.12.0 introduced stricter type checking for data stored in its database. This change causes the registrar to raise an exception and fail when encountering data formats used by versions 7.8.0 through 7.11.x. An attacker can exploit this by registering numerous agents with different UUIDs while the system is running an older version. Upon upgrading to 7.12.0, any database query matching these entries triggers a failure, leading to a Denial-of-Service (DoS). The issue is classified under CWE-704 (Incorrect Type Conversion) and CWE-1287 (Improper Validation of Specified Type of Input). A fix is available in version 7.12.1.

Affected products

  • keylime keylime 7.12.0

Timeline

  • 2025-02-14: advisory: GitHub Advisory GHSA-9jxq-5x44-gx23 published
  • 2025-02-14: patched: Version 7.12.1 released to address the issue

References

Related threats