ADVISORIES

GitHub Advisory Database

GHSA-fwwp-xcxw-39vq

ingress-nginx controller - configuration injection via unsanitized auth-url annotation

Details

A security issue was discovered in ingress-nginx where the auth-url Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)

Affected packages

EcosystemPackageAffected versions
Gok8s.io/ingress-nginx
All versions before 1.11.5 (fixed in 1.11.5)
Gok8s.io/ingress-nginx
From 1.12.0-beta.0 before 1.12.1 (fixed in 1.12.1)

References