Skip to main content
← All vulnerabilities
CVE-2021-25748GHSA-863X-868H-968X

Ingress-nginx `path` sanitization can be bypassed with newline character

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Kubernetes Kubernetes ingress-nginx

    fixed in 1.2.1

  • k8s.io/ingress-nginxGo

    fixed in 1.2.1

References 2

groups.google.com

GitHub · kubernetes/ingress-nginx