CVE-2023-42814 Denial of service from malicious image manifest in kyverno
An attacker controlling a registry can cause Kyverno denial of service via malicious image manifests, affecting only source-built instances.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-42814?
CVE-2023-42814 is a low-severity denial of service vulnerability in kyverno, published on 13 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Kyverno is a policy engine designed for Kubernetes. A security vulnerability was found in Kyverno where an attacker could cause denial of service of Kyverno. The vulnerable component in Kyvernos Notary verifier. An attacker would need control over the registry from which Kyverno would fetch attestations. With such a position, the attacker could return a malicious response to Kyverno, when Kyverno would send a request to the registry. The malicious response would cause denial of service of Kyverno, such that other users' admission requests would be blocked from being processed. This is a vulnerability in a new component released in v1.11.0. The only users affected by this are those that have been building Kyverno from source at the main branch which is not encouraged. Users consuming official Kyverno releases are not affected. There are no known cases of this vulnerability being exploited in the wild.
Weakness: CWE-835
Which versions are affected by CVE-2023-42814?
1 open source package ship an affected version, including github.com/kyverno/kyverno. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kyverno/kyverno Go | From 1.5.0-rc1.0.20230601080528-80d139bb5d1d | 1.5.0-rc1.0.20230918070231-fec2992e3f9f |
Products include Nirmata Kyverno.
How do I fix CVE-2023-42814?
Upgrade github.com/kyverno/kyverno to 1.5.0-rc1.0.20230918070231-fec2992e3f9f or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-42814 being exploited?
There is no known exploitation of CVE-2023-42814 in the wild and no public exploit code.
Other vulnerabilities in kyverno
- CVE-2024-48921 Kyverno's PolicyException objects can be created in any namespace by default
- 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
Sources
Also known as GHSA-9g37-h7p2-2c6r, GO-2023-2336.