CVE-2024-48921 Kyverno's PolicyException objects can be created in any namespace by default
Users with namespace privileges can bypass cluster security policies by creating PolicyExceptions in unauthorized namespaces.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-48921?
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.
Official 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.
Which versions are affected by CVE-2024-48921?
4 open source packages ship an affected version, including github.com/kyverno/kyverno and kyverno. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kyverno/kyverno Go | All versions | 1.13.0 |
github.com/kyverno/kyverno Go | All versions | 1.13.0 |
github.com/kyverno/kyverno Go | All versions | 1.13.0 |
kyverno Bitnami | All versions | 1.13.0 |
Products include Nirmata Kyverno.
How do I fix CVE-2024-48921?
Upgrade github.com/kyverno/kyverno to 1.13.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-48921 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48921 exists.
Other vulnerabilities in kyverno
- CVE-2023-34091 Kyverno resource with a deletionTimestamp may allow policy circumvention
- CVE-2023-42813 Denial of service from malicious manifest in kyverno
- CVE-2023-42816 Denial of service from malicious signature in kyverno
- CVE-2023-33191 kyverno seccomp control can be circumvented
- CVE-2023-42814 Denial of service from malicious image manifest in kyverno
Sources
Also known as BIT-kyverno-2024-48921, CLEANSTART-2026-KC89812, CLEANSTART-2026-VX56698, GHSA-qjvc-p88j-j9rm, GO-2024-3230, MINI-385p-crgg-h7hw and 4 more.