Improper input validation in Kubernetes Ingress-Nginx
CVE-2021-25746
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in an Ingress object (in the networking.k8s.io or extensions API group) to obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
EPSS exploit prediction
EPSS 0.014, 73.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes Ingress-Nginx
- Kubernetes Ingress-Nginx — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (cloud-Xolt/CVE, kajogo777/kubernetes-misconfigured). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ (Third Party Advisory, Mitigation, Issue Tracking)
- github.com/kubernetes/ingress-nginx/issues/8503 (Third Party Advisory, Mitigation, Issue Tracking)
- security.netapp.com/advisory/ntap-20220609-0006/ (Third Party Advisory)