CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Kubernetes

CVE-2021-25748
Kubernetes Ingress-nginx vulnerability

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use a newline character to bypass the sanitization of 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.

Affected products

Ingress-nginx. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Kubernetes Ingress-nginx runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Kubernetes products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.