GHSA-wc6p-4gwj-jcr8: Duplicate Advisory Keylime Has A Hardcoded Attestation Vulnerability

MODERATE
CVSS 6.3
CWE-1241
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-wc6p-4gwj-jcr8
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-1241: Use of Predictable Algorithm in Random Number Generator
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability Low (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.

keylime fixed: 7.14.2
pip install keylime>=7.14.2
Verify Direct and Transitive Dependencies

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

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-q8w6-w55c-ccv5. This link is maintained to preserve external references. ### Original Description A 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.

GHSA-wc6p-4gwj-jcr8 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
7.14.2
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?
GHSA-wc6p-4gwj-jcr8 is a security vulnerability in Duplicate Advisory involving Keylime has a hardcoded attestation challenge nonce that allows replay attacks under CWE-1241: Use of Predictable Algorithm in Random Number Generator.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 7.14.2 across affected packages: keylime.
What version fixes GHSA-wc6p-4gwj-jcr8?
Upgrading to 7.14.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is keylime affected?
Yes, keylime is affected in releases prior to 7.14.2. Upgrade your dependency to 7.14.2 or later.
What is the CVSS score of GHSA-wc6p-4gwj-jcr8?
GHSA-wc6p-4gwj-jcr8 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with GHSA-wc6p-4gwj-jcr8?
GHSA-wc6p-4gwj-jcr8 is classified under CWE-1241: Use of Predictable Algorithm in Random Number Generator (The device uses an algorithm that is predictable and generates a pseudo-random number.).
How can I check PyPI dependencies for GHSA-wc6p-4gwj-jcr8?
Run the dependency tree command: 'pip show keylime'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}