CVE-2021-25745

Ingress-nginx path can be pointed to service account token file

State
Published
Severity
7.6 High
Published
May 6, 2022
Updated
Sep 16, 2024
Reserved
Jan 21, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.6 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Lkubernetes

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Kubernetes ingress-nginxKubernetes
  • before 1.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.