CVE-2024-6508: Github.com/openshift/console Openshift Console Insufficient Entropy Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-4crf-28c7-v4gr
CVSS 8.0
CWE-331
Published
Advisory Summary

CVE-2024-6508 is a MODERATE (CVSS 8.0) openshift console insufficient entropy vulnerability vulnerability (CWE-331: Insufficient Entropy) affecting Github.com/openshift/console libraries in the Go ecosystem. The issue involves openshift console insufficient entropy vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2024-6508 at a Glance

CVE Identifier CVE-2024-6508
GHSA Identifier GHSA-4crf-28c7-v4gr
Severity MODERATE
CVSS v3.1 Base Score 8.0
CWE Classification CWE-331: Insufficient Entropy
Affected Product Github.com/openshift/console
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-6508

To remediate this vulnerability, upgrade all affected Github.com/openshift/console dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/openshift/console fixed: Latest secure release
Upgrade github.com/openshift/console to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/openshift/console

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-6508, inspect your project dependencies for Github.com/openshift/console:

inspect dependencies for github.com/openshift/console

Analyze the terminal output to locate any version of Github.com/openshift/console in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-331: Insufficient Entropy, where the product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others. In Github.com/openshift/console, 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

An insufficient entropy vulnerability was found in the Openshift Console. In the authorization code type and implicit grant type, the OAuth2 protocol is vulnerable to a Cross-Site Request Forgery (CSRF) attack if the state parameter is used inefficiently. This flaw allows logging into the victim’s current application account using a third-party account without any restrictions.

CVE-2024-6508 Affected Github.com/openshift/console Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openshift/console
Go
≤ 6.0.6

References

Frequently Asked Questions

What is CVE-2024-6508?
CVE-2024-6508 is a security vulnerability in Github.com/openshift/console involving Openshift Console insufficient entropy vulnerability under CWE-331: Insufficient Entropy.
Which Github.com/openshift/console versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/openshift/console.
What version fixes CVE-2024-6508?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openshift/console affected?
Yes, github.com/openshift/console is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-6508?
CVE-2024-6508 has a CVSS v3.1 base score of 8.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2024-6508?
CVE-2024-6508 is classified under CWE-331: Insufficient Entropy (The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.).
How can I check Go dependencies for CVE-2024-6508?
Run the dependency tree command: 'inspect dependencies for github.com/openshift/console'. 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-4crf-28c7-v4gr",
  "modified" : "2025-01-09T09:31:40Z",
  "published" : "2024-08-21T06:32:18Z",
  "aliases" : [ "CVE-2024-6508" ],
  "summary" : "Openshift Console insufficient entropy vulnerability",
  "details" : "An insufficient entropy vulnerability was found in the Openshift Console. In the authorization code type and implicit grant type, the OAuth2 protocol is vulnerable to a Cross-Site Request Forgery (CSRF) attack if the state parameter is used inefficiently. This flaw allows logging into the victim’s current application account using a third-party account without any restrictions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openshift/console"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "6.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6508"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:10813"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:7922"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8415"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:8991"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:9620"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:0014"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-6508"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2295777"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openshift/console"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-331" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-21T20:09:39Z",
    "nvd_published_at" : "2024-08-21T06:15:08Z"
  }
}