CVE-2021-25742
7.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Summary
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Kubernetes | Kubernetes ingress-nginx | unspecified <= 0.49.0 | affected |
| Kubernetes | Kubernetes ingress-nginx | next of 0.49.0 < unspecified | unknown |
| Kubernetes | Kubernetes ingress-nginx | unspecified <= 1.0.0 | affected |
| Kubernetes | Kubernetes ingress-nginx | next of 1.0.0 < unspecified | unknown |
Weaknesses
- CWE-20: CWE-20: Improper Input Validation
Workarounds
This can be mitigated by disallowing snippet annotations on a supported version. Refer to https://github.com/kubernetes/ingress-nginx/issues/7837 for instructions.
ADP Enrichment
CVE Program Container
Additional References
- https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY
- https://github.com/kubernetes/ingress-nginx/issues/7837
- https://security.netapp.com/advisory/ntap-20211203-0001/
References
- https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY
- https://github.com/kubernetes/ingress-nginx/issues/7837
- https://security.netapp.com/advisory/ntap-20211203-0001/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.