CVE-2021-25745

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

Published May 6, 2022 CVSS 3.1 · 7.6 High EPSS 1.2% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-4829 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.
Github GHSA Github GHSA GHSA-pvmg-xgmx-9mxh Improper Input Validation in k8s.io/ingress-nginx
History

No history.

Weaknesses
  • CWE-1173

    Improper Use of Validation Framework

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 16, 2024, 6:24 PM
Reserved
Jan 21, 2021, 12:00 AM
Status
Modified
Published
May 6, 2022, 1:15 AM
Modified
Jun 17, 2026, 3:42 AM
Severity
Important
Public date
Apr 22, 2022, 4:00 PM