GHSA-wc6p-4gwj-jcr8: Duplicate Advisory Keylime Has A Hardcoded Attestation Vulnerability
MODERATEGHSA-wc6p-4gwj-jcr8 is a MODERATE (CVSS 6.3) keylime has a hardcoded attestation vulnerability (CWE-1241: Use of Predictable Algorithm in Random Number Generator) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves keylime has a hardcoded attestation challenge nonce that allows replay attacks. Remediation is available by upgrading affected packages to version 7.14.2.
GHSA-wc6p-4gwj-jcr8 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L).
How to Fix GHSA-wc6p-4gwj-jcr8
To remediate this vulnerability, upgrade all affected Duplicate Advisory 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.14.2
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 GHSA-wc6p-4gwj-jcr8, inspect your installed packages using pip:
pip show keylime
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.14.2), 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-1241: Use of Predictable Algorithm in Random Number Generator, where the device uses an algorithm that is predictable and generates a pseudo-random number. In Duplicate Advisory, 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
GHSA-wc6p-4gwj-jcr8 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
keylime
|
PyPI |
≥ 7.14.0
< 7.14.2
|
7.14.2
|
References
Frequently Asked Questions
What is GHSA-wc6p-4gwj-jcr8?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-wc6p-4gwj-jcr8?
Is keylime affected?
What is the CVSS score of GHSA-wc6p-4gwj-jcr8?
What CWE is associated with GHSA-wc6p-4gwj-jcr8?
How can I check PyPI dependencies for GHSA-wc6p-4gwj-jcr8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wc6p-4gwj-jcr8",
"modified" : "2026-06-24T03:30:34Z",
"published" : "2026-05-06T12:30:28Z",
"withdrawn" : "2026-05-11T14:08:50Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Keylime has a hardcoded attestation challenge nonce that allows replay attacks",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-q8w6-w55c-ccv5. This link is maintained to preserve external references.\n\n### Original Description\nA flaw was found in Keylime. An attacker with root access on an enrolled monitored machine, where the Keylime agent runs, can exploit a vulnerability in the Keylime verifier. The verifier uses a hardcoded challenge nonce for Trusted Platform Module (TPM) quote attestation instead of a cryptographically random value. This allows the attacker to stockpile valid TPM quotes and replay them to evade detection after compromising the system. This issue affects only the push model deployment.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "keylime"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.14.0"
}, {
"fixed" : "7.14.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.14.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6420"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2026:28582"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2026-6420"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2458889"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1241" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-11T14:08:50Z",
"nvd_published_at" : "2026-05-06T11:16:05Z"
}
}