{"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-2021-3495 in the wild and no public exploit code.","fix":"Upgrade github.com/kiali/kiali to 1.33.0 or later.","what":"CVE-2021-3495 is a high-severity vulnerability in kiali/kiali-operator, published on 1 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3495 and fix it if it is affected.\n\nWhat it is: CVE-2021-3495 is a high-severity vulnerability in kiali/kiali-operator, published on 1 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3495 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.33.0\n- github.com/kiali/kiali (Go): affected all versions; fixed in 1.33.0\n- github.com/kiali/kiali (Go): affected all versions; fixed in 1.33.0\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-2021-3495/ (Markdown: https://insights.sbomify.com/CVE-2021-3495/index.md)","id":"CVE-2021-3495","markdown":"https://insights.sbomify.com/CVE-2021-3495/index.md","name":"CVE-2021-3495","record":{"aliases":["GHSA-mv55-23xp-3wp8","GO-2022-0645"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Kiali Operator","requires_auth":"low_privilege","summary":"An attacker with basic cluster access can deploy arbitrary images to gain privileged service account tokens, compromising confidentiality, integrity, and availability.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"kiali-operator","vendor":"netlify"},{"product":"openshift_service_mesh","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"An incorrect access control flaw was found in the kiali-operator in versions before 1.33.0 and before 1.24.7. This flaw allows an attacker with a basic level of access to the cluster (to deploy a kiali operand) to use this vulnerability and deploy a given image to anywhere in the cluster, potentially gaining access to privileged service account tokens. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Access control flaw in Kiali","id":"CVE-2021-3495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":3,"n_references":2,"next":{"headline":"Memory corruption in jhead","id":"CVE-2021-3496"},"packages":[{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":null,"source":"GHSA-mv55-23xp-3wp8"},{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":"pkg:golang/github.com/kiali/kiali","source":"GHSA-mv55-23xp-3wp8"},{"ecosystem":"Go","fixed":["1.33.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kiali/kiali","purl":"pkg:golang/github.com/kiali/kiali","source":"GO-2022-0645"}],"prev":{"headline":"Security feature bypass in foreman","id":"CVE-2021-3494"},"products":["kiali/kiali-operator"],"published":"2021-06-01","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":"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker with basic cluster access can deploy arbitrary images to gain privileged service account tokens, compromising confidentiality, integrity, and availability.","url":"https://insights.sbomify.com/CVE-2021-3495/"}