CVE-2022-3500 Keylime: unhandled exceptions could lead to invalid attestation states

Medium 5.1 Published Updated

A rogue agent can trigger exceptions in the Keylime verifier, causing denial of service and leaving hosts in an unverified but attested state.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3500?

CVE-2022-3500 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 22 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-248

Which versions are affected by CVE-2022-3500?

3 open source packages ship an affected version, including keylime. It affects 3 products.

PackageAffectedFixed in
keylime PyPIAll versions6.5.1
keylime PyPIAll versions6.5.1
keylime PyPIAll versions6.5.1
Linux distribution packages (17)
keylime AlmaLinux:9All versions6.5.1-1.el9_1
keylime-base AlmaLinux:9All versions6.5.1-1.el9_1
keylime-registrar AlmaLinux:9All versions6.5.1-1.el9_1
keylime-selinux AlmaLinux:9All versions6.5.1-1.el9_1
keylime-tenant AlmaLinux:9All versions6.5.1-1.el9_1
keylime-verifier AlmaLinux:9All versions6.5.1-1.el9_1
python3-keylime AlmaLinux:9All versions6.5.1-1.el9_1
keylime Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime-base Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime-registrar Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime-selinux Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime-tenant Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime-verifier Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
python3-keylime Red Hat:enterprise_linux:9::appstreamAll versions0:6.5.1-1.el9_1
keylime Rocky Linux:9All versions0:6.5.1-1.el9_1.4
keylime SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions6.3.2-150400.4.14.1
keylime openSUSE:Leap 15.4All versions6.3.2-150400.4.14.1

Products include Fedoraproject Fedora, Keylime Keylime, Redhat Enterprise Linux.

How do I fix CVE-2022-3500?

Upgrade keylime to 6.5.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-3500 being exploited?

There is no known exploitation of CVE-2022-3500 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2022:8444, GHSA-hff2-x2j9-gxgv, PYSEC-2022-42995, RHSA-2022:8444, RLSA-2022:8444, SUSE-SU-2022:4204-1.

Is CVE-2022-3500 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free