Every CVE Search/ Get API key

CVE-2022-3500

Keylime: unhandled exceptions could lead to invalid attestation states

5.1 MediumFix available

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.26%Down 0.6 points since Nov 23, 2022
90%50%10%1%

What each source reports

NVD Score used 5.1

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Record
CVE-2022-3500
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-248
Updated
2026-11-02
CVE List 5.1

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Record
CVE-2022-3500
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-248
Updated
2026-11-02
EUVDEUVD-2022-0135 5.1

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Record
EUVD-2022-0135
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-hff2-x2j9-gxgv 8.2

Keylime: unhandled exceptions could lead to invalid attestation states

Impact

This vulnerability creates a false sense of security for keylime users -- i.e. a user could query keylime and conclude that a parcitular node/agent is correctly attested, while attestations are not in fact taking place.

Short explanation: the keylime verifier creates periodic reports on the state of each attested agent. The keylime verifier runs a set of python asynchronous processes to challenge attested nodes and create reports on the outcome.

The vulnerability consists of the above named python asynchronous processes failing silently, i.e. quitting without leaving behind a database entry, raising an error or producing even a mention of an error in a log. The silent failure can be triggered by a small set of transient network failure conditions; recoverable device driver crashes being one such condition we saw in the wild.

Patches

The problem is fixed in keylime starting with tag 6.5.1

Workarounds

This patch can be retroactively applied to any running keylime deployment. Only running verifiers need to be patched. After the patch is applied, the keylime verifier needs to be restarted.

References

The problem, as well as the proposed fix, are described in detail here. Further details about the system where the bug was found, and the conditions in which the bug was found, are available from @galmasi on demand.

For more information

If you have any questions or comments about this advisory, please comment at the bottom of the advisory itself.

Record
GHSA-hff2-x2j9-gxgv
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-248
Updated
2026-11-02
OSV 5.1

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Record
CVE-2022-3500
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-248
Updated
2026-11-02
OSVGHSA-hff2-x2j9-gxgv 8.2

Keylime: unhandled exceptions could lead to invalid attestation states

Impact

This vulnerability creates a false sense of security for keylime users -- i.e. a user could query keylime and conclude that a parcitular node/agent is correctly attested, while attestations are not in fact taking place.

Short explanation: the keylime verifier creates periodic reports on the state of each attested agent. The keylime verifier runs a set of python asynchronous processes to challenge attested nodes and create reports on the outcome.

The vulnerability consists of the above named python asynchronous processes failing silently, i.e. quitting without leaving behind a database entry, raising an error or producing even a mention of an error in a log. The silent failure can be triggered by a small set of transient network failure conditions; recoverable device driver crashes being one such condition we saw in the wild.

Patches

The problem is fixed in keylime starting with tag 6.5.1

Workarounds

This patch can be retroactively applied to any running keylime deployment. Only running verifiers need to be patched. After the patch is applied, the keylime verifier needs to be restarted.

References

The problem, as well as the proposed fix, are described in detail here. Further details about the system where the bug was found, and the conditions in which the bug was found, are available from @galmasi on demand.

For more information

If you have any questions or comments about this advisory, please comment at the bottom of the advisory itself.

Record
GHSA-hff2-x2j9-gxgv
CVSS 4.0
8.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-248
Updated
2026-11-02
Show 5 moreShow less
OSVRHSA-2022:8444 5.1

Red Hat Security Advisory: keylime security update

Record
RHSA-2022:8444
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:8444 5.1

Moderate: keylime security update

Keylime is a TPM based highly scalable remote boot attestation and runtime integrity measurement solution.

Security Fix(es):

  • keylime: exception handling and impedance match in tornado_requests (CVE-2022-3500)

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
RLSA-2022:8444
CVSS 3.1
5.1 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:8444 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: exception handling and impedance match in tornado_requests (CVE-2022-3500)

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-2022:8444
Updated
2026-11-02
OSVPYSEC-2022-42995 No score

A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.

Record
PYSEC-2022-42995
Updated
2026-11-02
OSVSUSE-SU-2022:4204-1 No score

Security update for keylime

This update for keylime fixes the following issues:

  • CVE-2022-3500: Fixed vulnerability where a node seems as attested when in reality it is not properly attested (bsc#1204782).
Record
SUSE-SU-2022:4204-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
keylime
PyPI
before 6.5.1
6.5.1
keylime
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime-base
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime-registrar
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime-selinux
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime-tenant
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime-verifier
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
python3-keylime
AlmaLinux:9
before 6.5.1-1.el9_1
6.5.1-1.el9_1
keylime
PyPI
before 6.5.1, plus listed versions
6.3.16.3.26.4.06.4.16.4.26.4.36.5.0
6.5.1
keylime
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
keylime-base
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
keylime-registrar
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
keylime-selinux
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
keylime-tenant
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
keylime-verifier
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
python3-keylime
Red Hat:enterprise_linux:9::appstream
before 0:6.5.1-1.el9_1
0:6.5.1-1.el9_1
keylime
Rocky Linux:9
before 0:6.5.1-1.el9_1.4
0:6.5.1-1.el9_1.4
keylime
SUSE:Linux Enterprise Module for Basesystem 15 SP4
before 6.3.2-150400.4.14.1
6.3.2-150400.4.14.1
keylime
openSUSE:Leap 15.4
before 6.3.2-150400.4.14.1
6.3.2-150400.4.14.1

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-3500 is a medium vulnerability (CVSS 5.1) in Keylime, published October 28, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 18th percentile. Fixed in keylime 6.5.1.

References

Show 20 moreShow less
MoveEnter Open