8.1

CVE-2021-25745: Ingress-nginx path can be pointed to service account token file

Modified
AliasesGHSA-pvmg-xgmx-9mxhopenSUSE-SU-2024:12031-1
Published 06-05-2022Last modified 16-09-2024

Vulnerability summary

CVE-2021-25745 is a high (CVSS 8.1) Improper Input Validation vulnerability in kubernetes ingress-nginx. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 68.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
1.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 5

Timeline

  1. 06-05-2022
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.18%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.18% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Kubernetes2 products
K8s.io1 product
  • ingress-nginx< 1.2.0
Opensuse1 product
  • rke&distro=openSUSE Tumbleweed< 1.3.10-1.1

3 vendors · 4 products

References

7 links