Vulnerability · Published Aug 16, 2024 · Assigned by kubernetes
CVE-2024-7646
High 8.8
In plain English
A high-severity improper input validation in ingress-nginx from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 27.0% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to inject arbitrary commands and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubernetes/ingress-nginx | no fix listed | GO-2024-3075 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | ingress-nginx | 1.11.0 – before 1.11.20 – before 1.10.4 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/kubernetes/kubernetes/issues/126744 issue-tracking
- https://groups.google.com/g/kubernetes-security-announce/c/a1__cKjWkfA mailing-list
- https://github.com/kubernetes/ingress-nginx/pull/11719 patch
- https://github.com/kubernetes/ingress-nginx/pull/11721 patch
- http://www.openwall.com/lists/oss-security/2024/08/16/5