Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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