CVE-2023-38201
Keylime: challenge-response protocol bypass during agent registration
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.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.5
Keylime: challenge-response protocol bypass during agent registration
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.
- Record
CVE-2023-38201- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
EUVDEUVD-2023-0106
6.5
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.
- Record
EUVD-2023-0106- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-f4r5-q63f-gcww
8.7
Keylime registrar and (untrusted) Agent can be bypassed by an attacker
Impact
A 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.
When 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.
When 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.
The 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.
Patches
Users should upgrade to release 7.5.0
- Record
GHSA-f4r5-q63f-gcww- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
NVD
6.5
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.
- Record
CVE-2023-38201- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
OSV
6.5
Keylime: challenge-response protocol bypass during agent registration
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.
- Record
CVE-2023-38201- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
OSVGHSA-f4r5-q63f-gcww
8.7
Keylime registrar and (untrusted) Agent can be bypassed by an attacker
Impact
A 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.
When 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.
When 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.
The 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.
Patches
Users should upgrade to release 7.5.0
- Record
GHSA-f4r5-q63f-gcww- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-639
- Updated
- 2026-11-02
Show 5 moreShow less
OSVPYSEC-2023-160
6.5
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.
- Record
PYSEC-2023-160- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVRHSA-2023:5080
7.5
Red Hat Security Advisory: keylime security update
- Record
RHSA-2023:5080- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2023:5080 No score
Moderate: keylime security update
Keylime is a TPM based highly scalable remote boot attestation and runtime integrity measurement solution.
Security Fix(es):
- keylime: registrar is subject to a DoS against SSL connections (CVE-2023-38200)
- Keylime: challenge-response protocol bypass during agent registration (CVE-2023-38201)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2023:5080- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13287-1 No score
keylime-config-7.6.0-1.1 on GA media
These are all security issues fixed in the keylime-config-7.6.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13287-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3525-1 No score
Security update for keylime
This update for keylime fixes the following issues:
- CVE-2023-38201: Fixed a bug to avoid leaks of the authorization tag. (bsc#1213314)
- Record
SUSE-SU-2023:3525-1- Updated
- 2026-11-02
Affected products
- keylime
- fedoraproject fedora
- red hat enterprise linux 9
- redhat enterprise linux
- redhat enterprise linux eus
- redhat enterprise linux for ibm z systems
- redhat enterprise linux for ibm z systems eus
- redhat enterprise linux for power little endian
- redhat enterprise linux for power little endian eus
- redhat enterprise linux server aus
Affected packages
| Package | Affected | Fixed |
|---|---|---|
keylimePyPI |
before 7.5.0 | 7.5.0 |
keylimeAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylime-baseAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylime-registrarAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylime-selinuxAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylime-tenantAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylime-verifierAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
python3-keylimeAlmaLinux:9 From an advisory covering 2 CVEs |
before 6.5.2-6.el9_2.alma.1 | 6.5.2-6.el9_2.alma.1 |
keylimePyPI |
before 7.5.0, plus listed versions 6.3.16.3.26.4.06.4.16.4.2 Show 11 moreShow less6.4.36.5.06.5.16.5.26.5.36.6.06.8.07.0.07.2.57.3.07.4.0 |
7.5.0 |
keylimeRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
keylime-baseRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
keylime-registrarRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
keylime-selinuxRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
keylime-tenantRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
keylime-verifierRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
python3-keylimeRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:6.5.2-6.el9_2 | 0:6.5.2-6.el9_2 |
keylimeSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 6.3.2-150400.4.20.1 | 6.3.2-150400.4.20.1 |
keylimeSUSE:Linux Enterprise Module for Basesystem 15 SP5 |
before 6.3.2-150400.4.20.1 | 6.3.2-150400.4.20.1 |
keylimeopenSUSE:Leap 15.4 |
before 6.3.2-150400.4.20.1 | 6.3.2-150400.4.20.1 |
keylimeopenSUSE:Leap 15.5 |
before 6.3.2-150400.4.20.1 | 6.3.2-150400.4.20.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-38201 is a medium vulnerability (CVSS 6.5) in Keylime, published August 25, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in keylime 7.5.0.
References
access.redhat.com/errata/RHSA-2023:5080
access.redhat.com/security/cve/CVE-2023-38201
bugzilla.redhat.com/show_bug.cgi?id=2222693
github.com/keylime/keylime/commit/9e5ac9f25cd400b16d5969f531cee28290543f2a
github.com/keylime/keylime/security/advisories/GHSA-f4r5-q63f-gcww
lists.fedoraproject.org/archives/list/[email protected]/message/ZIZZB5NHNCS5D2AEH3ZAO6OQC72IK7WS
Show 20 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-38201
github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2023-160.yaml
github.com/advisories/GHSA-f4r5-q63f-gcww
access.redhat.com/security/cve/CVE-2023-38200
bugzilla.redhat.com/2222692
bugzilla.redhat.com/2222693
errata.almalinux.org/9/ALSA-2023-5080.html
access.redhat.com/downloads/content/package-browser
github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38201.json
github.com/keylime/keylime
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2222692
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_5080.json
cve.org/CVERecord?id=CVE-2023-38200
nvd.nist.gov/vuln/detail/CVE-2023-38200
github.com/keylime/keylime/pull/1421
cve.org/CVERecord?id=CVE-2023-38201
suse.com/support/update/announcement/2023/suse-su-20233525-1
bugzilla.suse.com/1213314
suse.com/security/cve/CVE-2023-38201