{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kanisterio/kanister.","exploited":"There is no known exploitation of CVE-2024-43403 in the wild and no public exploit code.","fix":"Upgrade github.com/kanisterio/kanister to 0.0.0-20240926084453-1f40f03d8432 or later.","what":"CVE-2024-43403 is a high-severity vulnerability in kanisterio kanister, published on 20 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-43403 and fix it if it is affected.\n\nWhat it is: CVE-2024-43403 is a high-severity vulnerability in kanisterio kanister, published on 20 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-43403 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kanisterio/kanister (Go): affected all versions; no fix listed\n- github.com/kanisterio/kanister (Go): affected all versions; fixed in 0.0.0-20240926084453-1f40f03d8432\n- github.com/kanisterio/kanister (Go): affected all versions; fixed in 0.0.0-20240926084453-1f40f03d8432\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-43403/ (Markdown: https://insights.sbomify.com/CVE-2024-43403/index.md)","id":"CVE-2024-43403","markdown":"https://insights.sbomify.com/CVE-2024-43403/index.md","name":"CVE-2024-43403","record":{"aliases":["GHSA-h27c-6xm3-mcqp","GO-2024-3080"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes data protection tool","requires_auth":"low_privilege","summary":"A malicious user with worker node access can escalate privileges to cluster level due to excessive permissions in the default Kanister operator configuration.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","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-269","name":"Improper Privilege Management"}],"description":"Kanister is a data protection workflow management tool. The kanister has a deployment called default-kanister-operator, which is bound with a ClusterRole called edit via ClusterRoleBinding. The \"edit\" ClusterRole is one of Kubernetes default-created ClusterRole, and it has the create/patch/udpate verbs of daemonset resources, create verb of serviceaccount/token resources, and impersonate verb of serviceaccounts resources. A malicious user can leverage access the worker node which has this component to make a cluster-level privilege escalation.","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":false,"headline":"Kanister has a potential risk which can be leveraged to make a cluster-level privilege escalation","id":"CVE-2024-43403","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Remote Code Execution Vulnerability in MEGABOT","id":"CVE-2024-43404"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/kanisterio/kanister","purl":"pkg:golang/github.com/kanisterio/kanister","source":"GO-2024-3080"},{"ecosystem":"Go","fixed":["0.0.0-20240926084453-1f40f03d8432"],"introduced":["0"],"last_affected":[],"package":"github.com/kanisterio/kanister","purl":null,"source":"GHSA-h27c-6xm3-mcqp"},{"ecosystem":"Go","fixed":["0.0.0-20240926084453-1f40f03d8432"],"introduced":["0"],"last_affected":[],"package":"github.com/kanisterio/kanister","purl":"pkg:golang/github.com/kanisterio/kanister","source":"GHSA-h27c-6xm3-mcqp"}],"prev":{"headline":"Rust OS Command Injection/Argument Injection vulnerability","id":"CVE-2024-43402"},"products":["kanister"],"published":"2024-08-20","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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-21","vendors":["kanisterio"]},"summary":"A malicious user with worker node access can escalate privileges to cluster level due to excessive permissions in the default Kanister operator configuration.","url":"https://insights.sbomify.com/CVE-2024-43403/"}