CVE-2021-25745 Ingress-nginx path can be pointed to service account token file
HighCVSS 8.1
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- NginxKubernetes
Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the spec.rules[].http.paths[].path field of 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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| k8s.io/ingress-nginx(Go) | < 1.2.0 | 1.2.0 | Fixed |
| Kubernetes ingress-nginx | < 1.2.0 | 1.2.0 | Fixed |
| kubernetes ingress-nginx | < 1.2.0 | 1.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| k8s.io/ingress-nginx(Go) | < 1.2.0 | 1.2.0 |
| kubernetes ingress-nginx | < 1.2.0 | 1.2.0 |
| Kubernetes ingress-nginx | < 1.2.0 | 1.2.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking mitigation third-party-advisory
- groups.google.com issue-tracking mailing-list mitigation third-party-advisory
- security.netapp.com third-party-advisory
- github.com
- github.com product
- CVE-2021-25745 vendor-advisory