{"id":"CVE-2023-38201","aliases":["CVE-2023-38201","GHSA-f4r5-q63f-gcww","PYSEC-2023-160"],"related":[],"kind":"vulnerability","state":"published","title":"Keylime: challenge-response protocol bypass during agent registration","summary":"A flaw was found in the Keylime registrar that could allow a bypass of the challenge-response protocol during agent registration. This issue may allow an attacker to impersonate an agent and hide the true status of a monitored machine if the fake agent is added to the verifier list by a legitimate user, resulting in a breach of the integrity of the registrar database.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in the Keylime registrar that could allow a bypass of the challenge-response protocol during agent registration. This issue may allow an attacker to impersonate an agent and hide the true status of a monitored machine if the fake agent is added to the verifier list by a legitimate user, resulting in a breach of the integrity of the registrar database.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA security issue was found in the Keylime `registrar` code which allows an attacker to effectively bypass the challenge-response protocol used to verify that an `agent` has indeed access to an AIK which in indeed related to the EK.\n\nWhen an `agent` starts up, it will contact a `registrar` and provide a public EK and public AIK, in addition to the EK Certificate. This `registrar` will then challenge the `agent` to decrypt a challenge encrypted with the EK. \n\nWhen receiving the wrong \"auth_tag\" back from the `agent` during activation, the `registrar` answers with an error message that contains the expected correct \"auth_tag\" (an HMAC which is calculated within the `registrar` for checking). An attacker could simply record the correct expected \"auth_tag\" from the HTTP error message and perform the activate call again with the correct expected \"auth_tag\" for the `agent`.\n\nThe security issue allows an attacker to pass the challenge-response protocol during registration with (almost) arbitrary registration data. In particular, the attacker can provide a valid EK Certificate and EK, which passes verification by the `tenant` (or `registrar`), while using a compromised AIK, which is stored unprotected outside the TPM and is unrelated to former two. The attacker then deliberately fails the initial activation call to get to know the correct \"auth_tag\" and then provides it in a subsequent activation call. This results in an `agent` which is (incorrectly) registered with a valid EK Certificate, but with a compromised/unrelated AIK.\n\n### Patches\nUsers should upgrade to release 7.5.0","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una falla en el registrador de Keylime que podría permitir una omisión del protocolo de desafío-respuesta durante el registro del agente. Este problema puede permitir a un atacante suplantar a un agente y ocultar el verdadero estado de un equipo supervisado si un usuario legítimo agrega el agente falso a la lista de verificadores, lo que provoca una violación de la integridad de la base de datos del registrador.","source":"nvd"}],"published":"2023-08-25T16:15:39.449Z","modified":"2026-07-08T06:53:11.696Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:6.5.2-6.el9_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"keylime","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.5.0"}],"ecosystem":"PyPI","package":"keylime","purl":"pkg:pypi/keylime","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"7.5.0"}],"vendor":"keylime","product":"keylime","cpe":"cpe:2.3:a:keylime:keylime:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.2"}],"vendor":"redhat","product":"enterprise_linux_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0_s390x"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.0_s390x:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.2_s390x"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.2_s390x:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0_ppc64le"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:9.0_ppc64le:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.2_ppc64le"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.2_ppc64le:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.2"}],"vendor":"redhat","product":"enterprise_linux_server_aus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"9e5ac9f25cd400b16d5969f531cee28290543f2a"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.5.0"}],"ecosystem":"PyPI","package":"keylime","purl":"pkg:pypi/keylime","repo":"https://github.com/keylime/keylime","source":"pysec"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:5080","tags":["third-party-advisory","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-38201","tags":["third-party-advisory","vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2222693","tags":["fix","issue-tracking","patch","third-party-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/keylime/keylime/commit/9e5ac9f25cd400b16d5969f531cee28290543f2a","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/keylime/keylime/security/advisories/GHSA-f4r5-q63f-gcww","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZIZZB5NHNCS5D2AEH3ZAO6OQC72IK7WS/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38201","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keylime/keylime","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2023-160.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZIZZB5NHNCS5D2AEH3ZAO6OQC72IK7WS","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-38201","url":"https://www.cve.org/CVERecord?id=CVE-2023-38201","licence":"CVE Terms of Use","modified":"2025-11-20T17:41:38.960Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f4r5-q63f-gcww","url":"https://github.com/advisories/GHSA-f4r5-q63f-gcww","licence":"CC-BY-4.0","modified":"2026-07-08T06:53:11.696Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-38201","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38201","licence":"Public domain","modified":"2026-06-17T06:09:39.233Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-160","url":"https://osv.dev/vulnerability/PYSEC-2023-160","licence":"CC-BY-4.0","modified":"2023-11-08T04:13:06.956Z"}],"updatedAt":"2026-11-25T22:58:27.361Z","epss":{"score":0.0049,"percentile":0.43728,"date":"2026-12-01T12:00:22.000Z"}}