Vulnerability · Published Mar 15, 2025 · Assigned by redhat
CVE-2025-1057Keylime: keylime registrar dos due to incompatible database entry handling
Medium 4.3
In plain English
A medium-severity security flaw in keylime. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in Keylime, a remote attestation solution, where strict type checking introduced in version 7.12.0 prevents the registrar from reading database entries created by previous versions, for example, 7.11.0. Specifically, older versions store agent registration data as bytes, whereas the updated registrar expects str. This issue leads to an exception when processing agent registration requests, causing the agent to fail.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | keylime | 7.12.1 | GHSA-9jxq-5x44-gx23 |
| PyPI | keylime | 7.12.1 | PYSEC-2026-1488 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keylime | 7.12.0 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-704 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://access.redhat.com/security/cve/CVE-2025-1057 vdb-entry, x_refsource_REDHAT
- RHBZ#2343894 issue-tracking, x_refsource_REDHAT
- https://github.com/ansasaki/keylime/tree/base64_bytes
- https://github.com/keylime/rust-keylime