CVE-2023-38200: Keylime Keylime's Registrar Vulnerable To Denial-of-service Vulnerability
HIGHCVE-2023-38200 is a HIGH (CVSS 7.5) keylime's registrar vulnerable to denial-of-service vulnerability (CWE-834: Excessive Iteration) affecting Keylime libraries in the PyPI ecosystem. The issue involves keylime's registrar vulnerable to denial-of-service attack via a single open connection. Remediation is available by upgrading affected packages to version 7.4.0.
CVE-2023-38200 at a Glance
Security Impact
CVSS: 7.5
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:N/I:N/A:H).
How to Fix CVE-2023-38200
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>=7.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-2023-38200, 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 7.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-834: Excessive Iteration, where the product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed. 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-2023-38200 Affected Keylime Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keylime
|
PyPI |
< 7.4.0
|
7.4.0
|
References
Frequently Asked Questions
What is CVE-2023-38200?
Which Keylime versions are affected?
What version fixes CVE-2023-38200?
Is keylime affected?
What is the CVSS score of CVE-2023-38200?
What CWE is associated with CVE-2023-38200?
How can I check PyPI dependencies for CVE-2023-38200?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pg75-v6fp-8q59",
"modified" : "2023-08-01T20:16:29Z",
"published" : "2023-08-01T20:16:29Z",
"aliases" : [ "CVE-2023-38200" ],
"summary" : "Keylime's registrar vulnerable to Denial-of-service attack via a single open connection",
"details" : "### Impact\nKeylime `registrar` is prone to a simple denial of service attack in which an adversary opens a connection to the TLS port (by default, port `8891`) blocking further, legitimate connections. As long as the connection is open, the `registrar` is blocked and cannot serve any further clients (`agents` and `tenants`), which prevents normal operation. The problem does not affect the `verifier`.\n\n### Patches\nUsers should upgrade to release 7.4.0",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keylime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/security/advisories/GHSA-pg75-v6fp-8q59"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38200"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/pull/1421"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/commit/c68d8f0b7ea549c12b6956ab0f3c28ae0360ae17"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2023-38200"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2222692"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/keylime/keylime"
}, {
"type" : "WEB",
"url" : "https://github.com/keylime/keylime/releases/tag/v7.4.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-834" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-01T20:16:29Z",
"nvd_published_at" : null
}
}