{"id":"CVE-2025-1057","state":"PUBLISHED","title":"Keylime: keylime registrar dos due to incompatible database entry handling","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.","publishedAt":"2025-03-15T08:50:48.649Z","updatedAt":"2026-06-29T23:25:05.421Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"redhat"},"assigner":"redhat","products":["keylime","Red Hat Red Hat Enterprise Linux 10","Red Hat Red Hat Enterprise Linux 9"],"affected":[{"packageName":"keylime","defaultStatus":"unaffected","versions":[{"version":"7.12.0","status":"affected","versionType":"semver"}],"collectionURL":"https://github.com/keylime/keylime"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"keylime","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"keylime","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]}],"references":["https://access.redhat.com/security/cve/CVE-2025-1057","https://bugzilla.redhat.com/show_bug.cgi?id=2343894","https://github.com/ansasaki/keylime/tree/base64_bytes","https://github.com/keylime/rust-keylime"],"weaknesses":["CWE-704"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1057.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-1057","state":"PUBLISHED","datePublished":"2025-03-15T08:50:48.649Z","dateUpdated":"2026-06-29T23:25:05.421Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2025-02-05T09:57:50.746Z"},"containers":{"cna":{"title":"Keylime: keylime registrar dos due to incompatible database entry handling","descriptions":[{"lang":"en","value":"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":[{"packageName":"keylime","defaultStatus":"unaffected","versions":[{"version":"7.12.0","status":"affected","versionType":"semver"}],"collectionURL":"https://github.com/keylime/keylime"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","packageName":"keylime","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","packageName":"keylime","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/o:redhat:enterprise_linux:9"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-1057","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2343894","name":"RHBZ#2343894","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/ansasaki/keylime/tree/base64_bytes"},{"url":"https://github.com/keylime/rust-keylime"}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-704","description":"Incorrect Type Conversion or Cast","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-06-29T23:25:05.421Z"},"datePublic":"2025-02-05T00:00:00.000Z","x_redhatCweChain":"CWE-704: Incorrect Type Conversion or Cast","timeline":[{"lang":"en","time":"2025-02-05T09:47:52.149Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-02-05T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Anderson Toshiyuki Sasaki for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-17T17:01:10.891516Z","id":"CVE-2025-1057","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-17T17:01:26.257Z"}}]}}}