Every CVE Search/ Get API key

CVE-2023-38201

Keylime: challenge-response protocol bypass during agent registration

6.5 MediumFix available

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

0.49%Up 0.4 points since Aug 26, 2023
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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

Affected packages

Affected packages
PackageAffectedFixed
keylime
PyPI
before 7.5.0
7.5.0
keylime
AlmaLinux: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-base
AlmaLinux: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-registrar
AlmaLinux: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-selinux
AlmaLinux: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-tenant
AlmaLinux: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-verifier
AlmaLinux: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-keylime
AlmaLinux: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
PyPI
before 7.5.0, plus listed versions
6.3.16.3.26.4.06.4.16.4.2
Show 11 moreShow less
6.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
keylime
Red 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
Affected packages
PackageAffectedFixed
keylime-base
Red 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-registrar
Red 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-selinux
Red 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-tenant
Red 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-verifier
Red 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-keylime
Red 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
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 6.3.2-150400.4.20.1
6.3.2-150400.4.20.1
keylime
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 6.3.2-150400.4.20.1
6.3.2-150400.4.20.1
keylime
openSUSE:Leap 15.4
before 6.3.2-150400.4.20.1
6.3.2-150400.4.20.1
keylime
openSUSE:Leap 15.5
before 6.3.2-150400.4.20.1
6.3.2-150400.4.20.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 20 moreShow less
MoveEnter Open