CVE-2022-1053Keylime
Critical 9.1 No auth needed
Follow: this CVE · Keylime · Keylime We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- May 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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,
What to do
- Apply the vendor's security update for Keylime.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | keylime |
< 6.4.0 |
6.4.0 |
pip install "keylime>=6.4.0" |
| PyPI | keylime |
< 6.4.0 |
6.4.0 |
pip install "keylime>=6.4.0" |
Per OSV / GitHub Advisories (GHSA-jf66-3q76-h5p5, PYSEC-2022-184). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| keylime | keylime | < 6.4.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com
- github.com Patch Third Party Advisory
- github.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org