{"schema_version":"1.7.3","id":"GHSA-qjvc-p88j-j9rm","published":"2024-10-29T14:44:36Z","modified":"2026-02-04T03:32:56.630888Z","aliases":["BIT-kyverno-2024-48921","CVE-2024-48921","GO-2024-3230"],"related":["CGA-qfx8-48h9-gfrw"],"summary":"Kyverno's PolicyException objects can be created in any namespace by default","details":"### Summary\nA kyverno ClusterPolicy, ie. \"disallow-privileged-containers,\" can be overridden by the creation of a PolicyException in a random namespace.\n\n### Details\nBy design, PolicyExceptions are consumed from any namespace. Administrators may not recognize that this allows users with privileges to non-kyverno namespaces to create exceptions.\n\n### PoC\n1. Administrator creates \"disallow-privileged-containers\" ClusterPolicy that applies to resources in the namespace \"ubuntu-restricted\"\n2. Cluster user creates a PolicyException object for \"disallow-privileged-containers\" in namespace \"ubuntu-restricted\"\n3. Cluster user creates a pod with a privileged container in \"ubuntu-restricted\" \n4. Cluster user escalates to root on the node from the privileged container\n\n### Impact\nAdministrators attempting to enforce cluster security through kyverno policies, but that allow less privileged users to create resources","affected":[{"package":{"name":"github.com/kyverno/kyverno","ecosystem":"Go","purl":"pkg:golang/github.com/kyverno/kyverno"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-qjvc-p88j-j9rm/GHSA-qjvc-p88j-j9rm.json"}}],"references":[{"type":"WEB","url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-qjvc-p88j-j9rm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48921"},{"type":"PACKAGE","url":"https://github.com/kyverno/kyverno"}],"database_specific":{"cwe_ids":["CWE-285","CWE-863"],"github_reviewed":true,"github_reviewed_at":"2024-10-29T14:44:36Z","nvd_published_at":"2024-10-29T15:15:10Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}