CVE-2022-3500
Keylime: unhandled exceptions could lead to invalid attestation states
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
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 High
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 High
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
keylimePyPI |
before 6.5.1 | 6.5.1 |
keylimeAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylime-baseAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylime-registrarAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylime-selinuxAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylime-tenantAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylime-verifierAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
python3-keylimeAlmaLinux:9 |
before 6.5.1-1.el9_1 | 6.5.1-1.el9_1 |
keylimePyPI |
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 |
keylimeRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
keylime-baseRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
keylime-registrarRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
keylime-selinuxRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
keylime-tenantRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
keylime-verifierRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
python3-keylimeRed Hat:enterprise_linux:9::appstream |
before 0:6.5.1-1.el9_1 | 0:6.5.1-1.el9_1 |
keylimeRocky Linux:9 |
before 0:6.5.1-1.el9_1.4 | 0:6.5.1-1.el9_1.4 |
keylimeSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 6.3.2-150400.4.14.1 | 6.3.2-150400.4.14.1 |
keylimeopenSUSE:Leap 15.4 |
before 6.3.2-150400.4.14.1 | 6.3.2-150400.4.14.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
access.redhat.com/security/cve/CVE-2022-3500
github.com/keylime/keylime/pull/1128
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQH5CJRX65QYMQN5WGUKKKE3IRJBWG5Z
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QX4XVCAUFGJ2I2NCTOKONTJGRJB2NBBT
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUTHMDVFNGGVPCNPOGULMJAAFEP7MEXP
github.com/keylime/keylime/security/advisories/GHSA-hff2-x2j9-gxgv
Show 20 moreShow less
nvd.nist.gov/vuln/detail/CVE-2022-3500
github.com/keylime/keylime/commit/f969d397f92962b553f8c5bcbbeeb3bbdeca9456
github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2022-42995.yaml
lists.fedoraproject.org/archives/list/[email protected]/message/PUTHMDVFNGGVPCNPOGULMJAAFEP7MEXP
lists.fedoraproject.org/archives/list/[email protected]/message/QX4XVCAUFGJ2I2NCTOKONTJGRJB2NBBT
lists.fedoraproject.org/archives/list/[email protected]/message/ZQH5CJRX65QYMQN5WGUKKKE3IRJBWG5Z
github.com/advisories/GHSA-hff2-x2j9-gxgv
access.redhat.com/errata/RHSA-2022:8444
bugzilla.redhat.com/2135343
errata.almalinux.org/9/ALSA-2022-8444.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3500.json
github.com/keylime/keylime
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2135343
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8444.json
cve.org/CVERecord?id=CVE-2022-3500
errata.rockylinux.org/RLSA-2022:8444
suse.com/support/update/announcement/2022/suse-su-20224204-1
bugzilla.suse.com/1204782
suse.com/security/cve/CVE-2022-3500