{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kiali/kiali. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-1764 in the wild and no public exploit code.","fix":"Upgrade github.com/kiali/kiali to 1.15.1 or later.","what":"CVE-2020-1764 is a high-severity vulnerability in Red Hat kiali, published on 26 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-1764 and fix it if it is affected.\n\nWhat it is: CVE-2020-1764 is a high-severity vulnerability in Red Hat kiali, published on 26 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-1764 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kiali/kiali (Go): affected all versions; fixed in 1.15.1\n- github.com/kiali/kiali (Go): affected all versions; fixed in 1.15.1\n- github.com/kiali/kiali (Go): affected all versions; fixed in 1.15.1\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-2020-1764/ (Markdown: https://insights.sbomify.com/CVE-2020-1764/index.md)","id":"CVE-2020-1764","markdown":"https://insights.sbomify.com/CVE-2020-1764/index.md","name":"CVE-2020-1764","record":{"aliases":["GHSA-64rh-r86q-75ff","GO-2022-0631"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kiali service mesh console","requires_auth":"none","summary":"Attackers can bypass authentication using hard-coded keys to view and modify Istio configurations in Kiali.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"kiali","vendor":"kiali"},{"product":"openshift_service_mesh","vendor":"redhat"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"A hard-coded cryptographic key vulnerability in the default configuration file was found in Kiali, all versions prior to 1.15.1. A remote attacker could abuse this flaw by creating their own JWT signed tokens and bypass Kiali authentication mechanisms, possibly gaining privileges to view and alter the Istio configuration.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2020-07-06","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-07-06T13:59:52Z","kind":"github_poc","ref":"https://github.com/jpts/cve-2020-1764-poc","stars":1,"title":"Auth Bypass PoC for Kiali"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Hard coded cryptographic key in Kiali","id":"CVE-2020-1764","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"hardcoded_credentials","year":"2020"},"n_packages":3,"n_references":2,"next":{"headline":"Spoofing of From field in several screens","id":"CVE-2020-1765"},"packages":[{"ecosystem":"Go","fixed":["1.15.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":null,"source":"GHSA-64rh-r86q-75ff"},{"ecosystem":"Go","fixed":["1.15.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":"pkg:golang/github.com/kiali/kiali","source":"GHSA-64rh-r86q-75ff"},{"ecosystem":"Go","fixed":["1.15.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":"pkg:golang/github.com/kiali/kiali","source":"GO-2022-0631"}],"prev":{"headline":"Denial of service in libreswan","id":"CVE-2020-1763"},"products":["kiali"],"published":"2020-03-26","related":[{"cvss_score":7,"headline":"Insufficient Session Expiration in Kiali","id":"CVE-2020-1762","kev_date_added":null,"published":"2020-04-27"},{"cvss_score":6.5,"headline":"Kiali Authentication Bypass vulnerability","id":"CVE-2021-20278","kev_date_added":null,"published":"2021-05-28"},{"cvss_score":4.3,"headline":"Kiali: error message spoofing in kiali ui","id":"CVE-2022-3962","kev_date_added":null,"published":"2023-09-23"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Red Hat"]},"summary":"Attackers can bypass authentication using hard-coded keys to view and modify Istio configurations in Kiali.","url":"https://insights.sbomify.com/CVE-2020-1764/"}