Improper input validation in keylime
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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,
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | keylime | Affects keylime v6.4.0 and prior, Fixed in – v6.4.0 | — | No fix listed | CNA |
| — | keylime (PyPI) | before 6.4.0 | 6.4.0 | Patch available | GHSA-jf66-3q76-h5p5 |
- keylime Vendor— Affected Affects keylime v6.4.0 and prior, Fixed in – v6.4.0 Fixed in — No fix listed CNA
- keylime (PyPI) Vendor— Affected before 6.4.0 Fixed in 6.4.0 Patch available GHSA-jf66-3q76-h5p5
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:keylime:keylime:*:*:*:*:*:*:*:* | before 6.4.0 | Vulnerable | Keylime |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:keylime:keylime:*:*:*:*:*:*:*:* Versions before 6.4.0 Vulnerable ·Keylime
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-jf66-3q76-h5p5 keylime (PyPI) Fixed in 6.4.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1053
- 2026-10-03 Alias added: GHSA-jf66-3q76-h5p5
References
Advisory 5
Other 9
- https://bugzilla.redhat.com/show_bug.cgi?id=2065024%2C
- https://github.com/keylime/keylime/security/advisories/GHSA-jf66-3q76-h5p5%2C
- https://github.com/keylime/keylime/security/advisories/GHSA-jf66-3q76-h5p5
- https://bugzilla.redhat.com/show_bug.cgi?id=2065024
- https://github.com/keylime/keylime
- https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2022-184.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/A7WAKVXM7L5D2DUACV6EHA6EJNAX2GVL
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RF6QHU4UGSBATC3HOOE7OP66CYVTR7CV
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WEW2PAXO5YGLDLPG45YV2OPLJXJSCECQ
Sources
- CVE-2022-1053 · CVE Program
- CVE-2022-1053 · NVD
- FIRST EPSS
- GHSA-jf66-3q76-h5p5 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-1053 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences