Vulnerability Name:

CVE-2022-1053 (CCN-225950)

Assigned:2022-05-04
Published:2022-05-04
Updated:2022-05-16
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,
CVSS v3 Severity:9.1 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
7.9 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:6.4 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-20
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2022-1053

Source: MISC
Type: Broken Link
https://bugzilla.redhat.com/show_bug.cgi?id=2065024,

Source: XF
Type: UNKNOWN
keylime-cve20221053-sec-bypass(225950)

Source: CCN
Type: Keylime GIT Repository
tenant, verifier: let the tenant provide the AK and mTLS certificate

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/keylime/keylime/commit/bd5de712acdd77860e7dc58969181e16c7a8dc5d

Source: MISC
Type: Broken Link
https://github.com/keylime/keylime/security/advisories/GHSA-jf66-3q76-h5p5,

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-748fda10e7

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-f9ace23a78

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-7c9173843a

Vulnerable Configuration:Configuration 1:
  • cpe:/a:keylime:keylime:*:*:*:*:*:*:*:* (Version < 6.4.0)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7541
    P
    keylime-agent-6.3.2-150400.4.14.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3661
    P
    Security update for keylime (Important)
    2022-08-03
    oval:org.opensuse.security:def:95291
    P
    Security update for keylime (Important)
    2022-08-03
    oval:org.opensuse.security:def:670
    P
    Security update for keylime (Important)
    2022-08-03
    BACK
    keylime keylime *
    fedoraproject fedora 34
    fedoraproject fedora 35
    fedoraproject fedora 36