Kubernetes apimachinery packages vulnerable to unbounded recursion in JSON or YAML parsing
High severity
GitHub Reviewed
Published
Feb 8, 2023
to the GitHub Advisory Database
•
Updated May 20, 2024
Package
Affected versions
< 0.0.0-20190927203648-9ce6eca90e73
Patched versions
0.0.0-20190927203648-9ce6eca90e73
Description
Published to the GitHub Advisory Database
Feb 8, 2023
Reviewed
Feb 8, 2023
Last updated
May 20, 2024
CVE-2019-11253 is a denial of service vulnerability in the kube-apiserver, allowing authorized users sending malicious YAML or JSON payloads to cause kube-apiserver to consume excessive CPU or memory, potentially crashing and becoming unavailable.
When creating a ConfigMap object which has recursive references contained in it, excessive CPU usage can occur. This appears to be an instance of a "Billion Laughs" attack which is quite well known as an XML parsing issue.
Applying this manifest to a cluster causes the client to hang for some time with considerable CPU usage.
Specific Go Packages Affected
References