CVE-2022-1053: Keylime Tenant And Verifier Might Not Vulnerability
CRITICALCVE-2022-1053 is a CRITICAL (CVSS 9.1) tenant and verifier might not vulnerability (CWE-20: Improper Input Validation) affecting Keylime libraries in the PyPI ecosystem. The issue involves tenant and verifier might not use the same registrar data. Remediation is available by upgrading affected packages to version 6.4.0.
CVE-2022-1053 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2022-1053
To remediate this vulnerability, upgrade all affected Keylime dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install keylime>=6.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show keylime
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-1053, inspect your installed packages using pip:
pip show keylime
Analyze the terminal output to locate any version of Keylime in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.0), your application is affected.
Note: The pip show keylime command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Keylime, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-1053 Affected Keylime Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keylime
|
PyPI |
< 6.4.0
|
6.4.0
|
References
Frequently Asked Questions
What is CVE-2022-1053?
Which Keylime versions are affected?
What version fixes CVE-2022-1053?
Is keylime affected?
What is the CVSS score of CVE-2022-1053?
What CWE is associated with CVE-2022-1053?
How can I check PyPI dependencies for CVE-2022-1053?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jf66-3q76-h5p5",
"modified" : "2026-03-30T19:47:11Z",
"published" : "2022-05-05T15:59:35Z",
"aliases" : [ "CVE-2022-1053" ],
"summary" : "Tenant and Verifier might not use the same registrar data",
"details" : "Keylime does not enforce that the agent registrar data is the same when the tenant uses it for validation of the EK and identity quote and the verifier for validating the integrity quote. This allows an attacker to use one AK, EK pair from a real TPM to pass EK validation and give the verifier an AK of a software TPM. A successful attack breaks the entire chain of trust because a not validated AK is used by the verifier. This issue is worse if the validation happens first and then the agent gets added to the verifier because the timing is easier and the verifier does not validate the regcount entry being equal to 1. At this time, there are no known workaround.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keylime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/security/advisories/GHSA-jf66-3q76-h5p5"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-1053"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/commit/bd5de712acdd77860e7dc58969181e16c7a8dc5d"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2065024"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-jf66-3q76-h5p5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/keylime/keylime"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2022-184.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A7WAKVXM7L5D2DUACV6EHA6EJNAX2GVL"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RF6QHU4UGSBATC3HOOE7OP66CYVTR7CV"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WEW2PAXO5YGLDLPG45YV2OPLJXJSCECQ"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-05T15:59:35Z",
"nvd_published_at" : "2022-05-06T17:15:00Z"
}
}