CVE-2019-11254 Kubernetes API Server denial of service vulnerability from malicious YAML payloads
An authorized user can cause the Kubernetes API Server to consume excessive CPU resources by sending malicious YAML payloads, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11254?
CVE-2019-11254 is a medium-severity denial of service vulnerability in Kubernetes Kubernetes, published on 1 Apr 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Kubernetes API Server component in versions 1.1-1.14, and versions prior to 1.15.10, 1.16.7 and 1.17.3 allows an authorized user who sends malicious YAML payloads to cause the kube-apiserver to consume excessive CPU cycles while parsing YAML.
Weakness: CWE-1050
Which versions are affected by CVE-2019-11254?
6 open source packages ship an affected version, including github.com/go-yaml/yaml and gopkg.in/yaml.v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/go-yaml/yaml Go | All versions | None |
github.com/go-yaml/yaml Go | All versions to 2.1.0 | None |
github.com/go-yaml/yaml Go | All versions to 2.1.0 | None |
gopkg.in/yaml.v2 Go | All versions | 2.2.8 |
gopkg.in/yaml.v2 Go | All versions | 2.2.8 |
gopkg.in/yaml.v2 Go | All versions | 2.2.8 |
Linux distribution packages (1)
etcd openSUSE:Tumbleweed | All versions | 3.5.2-1.1 |
Products include Kubernetes Kubernetes.
How do I fix CVE-2019-11254?
Upgrade to a fixed version.
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-2019-11254 being exploited?
There is no known exploitation of CVE-2019-11254 in the wild and no public exploit code.
Other vulnerabilities in Kubernetes Kubernetes
- CVE-2018-1002105 Privilege Escalation in Kubernetes
- CVE-2017-1000056 Kubernetes Privilege Escalation
- CVE-2016-1906 Authorization bypass in Openshift
- CVE-2023-3676 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
- CVE-2023-3955 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
Sources
Also known as AZL-41568, AZL-44445, AZL-44808, AZL-44904, CLEANSTART-2026-GX38111, DEBIAN-CVE-2019-11254 and 3 more.