{"answers":{"affected":"4 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48921 exists.","fix":"Upgrade github.com/kyverno/kyverno to 1.13.0 or later.","what":"CVE-2024-48921 is a high-severity missing authorization vulnerability in kyverno, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-48921 and fix it if it is affected.\n\nWhat it is: CVE-2024-48921 is a high-severity missing authorization vulnerability in kyverno, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48921 exists.\n\nAffected packages and fixed versions:\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.13.0\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.13.0\n- github.com/kyverno/kyverno (Go): affected all versions; fixed in 1.13.0\n- kyverno (Bitnami): affected all versions; fixed in 1.13.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-2024-48921/ (Markdown: https://insights.sbomify.com/CVE-2024-48921/index.md)","id":"CVE-2024-48921","markdown":"https://insights.sbomify.com/CVE-2024-48921/index.md","name":"CVE-2024-48921","record":{"aliases":["BIT-kyverno-2024-48921","CLEANSTART-2026-KC89812","CLEANSTART-2026-VX56698","GHSA-qjvc-p88j-j9rm","GO-2024-3230","MINI-385p-crgg-h7hw","MINI-9cvj-jm8r-v2jx","MINI-hm3j-6p2q-cp44","MINI-q4f4-9g74-22jg","MINI-r3gx-654v-4wfp"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes policy engine","requires_auth":"none","summary":"Users with namespace privileges can bypass cluster security policies by creating PolicyExceptions in unauthorized namespaces.\n","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kyverno","vendor":"nirmata"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-285","name":"Improper Authorization"}],"description":"Kyverno is a policy engine designed for Kubernetes. A kyverno ClusterPolicy, ie. \"disallow-privileged-containers,\" can be overridden by the creation of a PolicyException in a random namespace. By design, PolicyExceptions are consumed from any namespace. Administrators may not recognize that this allows users with privileges to non-kyverno namespaces to create exceptions. This vulnerability is fixed in 1.13.0.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Kyverno's PolicyException objects can be created in any namespace by default","id":"CVE-2024-48921","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"MessagePack allows untrusted data to lead to DoS attack due to hash collisions and stack overflow","id":"CVE-2024-48924"},"packages":[{"ecosystem":"Bitnami","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"kyverno","purl":"pkg:bitnami/kyverno","source":"BIT-kyverno-2024-48921"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":null,"source":"GHSA-qjvc-p88j-j9rm"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GHSA-qjvc-p88j-j9rm"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kyverno/kyverno","purl":"pkg:golang/github.com/kyverno/kyverno","source":"GO-2024-3230"}],"prev":{"headline":"PutongOJ: unprivileged users can escalate privileges by constructing requests","id":"CVE-2024-48920"},"products":["kyverno"],"published":"2024-10-29","related":[{"cvss_score":6.5,"headline":"Kyverno resource with a deletionTimestamp may allow policy circumvention","id":"CVE-2023-34091","kev_date_added":null,"published":"2023-06-01"},{"cvss_score":6.1,"headline":"Denial of service from malicious manifest in kyverno","id":"CVE-2023-42813","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":6.1,"headline":"Denial of service from malicious signature in kyverno","id":"CVE-2023-42816","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":4.6,"headline":"kyverno seccomp control can be circumvented","id":"CVE-2023-33191","kev_date_added":null,"published":"2023-05-30"},{"cvss_score":3.1,"headline":"Denial of service from malicious image manifest in kyverno","id":"CVE-2023-42814","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":3.1,"headline":"Denial of service from malicious image manifest in kyverno","id":"CVE-2023-42815","kev_date_added":null,"published":"2023-11-13"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-29","vendors":["kyverno"]},"summary":"Users with namespace privileges can bypass cluster security policies by creating PolicyExceptions in unauthorized namespaces.\n","url":"https://insights.sbomify.com/CVE-2024-48921/"}