{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openshift/console.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6508 exists.","fix":"No fix has been published for CVE-2024-6508 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6508 is a high-severity vulnerability in Red Hat OpenShift Container Platform 4.12, published on 21 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-6508 and fix it if it is affected.\n\nWhat it is: CVE-2024-6508 is a high-severity vulnerability in Red Hat OpenShift Container Platform 4.12, published on 21 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6508 exists.\n\nAffected packages and fixed versions:\n- github.com/openshift/console (Go): affected all versions; no fix listed\n- github.com/openshift/console (Go): affected all versions up to 6.0.6; no fix listed\n- github.com/openshift/console (Go): affected all versions up to 6.0.6; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6508/ (Markdown: https://insights.sbomify.com/CVE-2024-6508/index.md)","id":"CVE-2024-6508","markdown":"https://insights.sbomify.com/CVE-2024-6508/index.md","name":"CVE-2024-6508","record":{"aliases":["GHSA-4crf-28c7-v4gr","GO-2024-3083"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Console","requires_auth":"low_privilege","summary":"Insufficient entropy in the OAuth2 state parameter allows attackers to perform CSRF attacks, potentially linking a victim's account to a third-party account.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-331","name":"Insufficient Entropy"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Openshift-console: oauth2 insufficient state parameter entropy","id":"CVE-2024-6508","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"csrf","year":"2024"},"n_packages":3,"n_references":9,"next":{"headline":"Denial of service in AXIS OS","id":"CVE-2024-6509"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/console","purl":"pkg:golang/github.com/openshift/console","source":"GO-2024-3083"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["6.0.6"],"package":"github.com/openshift/console","purl":null,"source":"GHSA-4crf-28c7-v4gr"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["6.0.6"],"package":"github.com/openshift/console","purl":"pkg:golang/github.com/openshift/console","source":"GHSA-4crf-28c7-v4gr"}],"prev":{"headline":"Deep Lake Kaggle command injection","id":"CVE-2024-6507"},"products":["Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18"],"published":"2024-08-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-11","vendors":["Red Hat"]},"summary":"Insufficient entropy in the OAuth2 state parameter allows attackers to perform CSRF attacks, potentially linking a victim's account to a third-party account.","url":"https://insights.sbomify.com/CVE-2024-6508/"}