LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.6Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-25745 lets someone who already can create or update Kubernetes Ingress objects abuse an ingress-nginx path value to obtain the ingress-nginx controller credentials. In the default configuration, those credentials can read all cluster secrets, making this a serious internal privilege-escalation and data-exposure risk.

Executive priority

Treat as high priority where Kubernetes clusters allow delegated Ingress management. A compromised tenant or CI credential could expose cluster secrets through controller credentials, potentially affecting application credentials, tokens, and operational trust boundaries.

Technical view

The vulnerable surface is Kubernetes ingress-nginx handling of spec.rules[].http.paths[].path in networking.k8s.io or extensions Ingress objects. A low-privileged Kubernetes user with Ingress create/update rights can cause credential disclosure for the ingress-nginx controller. The CVSS 3.1 score is 7.6 with high confidentiality impact.

Likely exposure

Clusters using Kubernetes ingress-nginx are most exposed when non-administrators, automation, or tenants can create or update Ingress resources. Risk is higher if the controller service account keeps default broad access to cluster secrets.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. Exploitation requires authenticated Kubernetes privileges to create or update Ingress objects, but no user interaction and low attack complexity are indicated by the CVSS vector.

Researcher notes

The evidence identifies the vulnerable field, required privilege, API groups, and default secret-access consequence. The provided bundle does not name affected ingress-nginx versions, fixed versions, or confirmed exploitation, so validation should center on deployed ingress-nginx, RBAC exposure, and vendor advisory status.

Mitigation direction

  • Review Kubernetes ingress-nginx advisory guidance for supported fixed versions or configuration changes.
  • Restrict who can create or update Ingress resources in affected clusters.
  • Reduce ingress-nginx controller service account permissions, especially access to secrets.
  • Audit tenant, CI/CD, and automation roles with Ingress write privileges.
  • Check NetApp advisory relevance if using affected NetApp-integrated Kubernetes environments.

Validation and detection

  • Inventory clusters running Kubernetes ingress-nginx.
  • List subjects with create or update permissions on Ingress resources.
  • Review ingress-nginx controller service account permissions to Kubernetes secrets.
  • Check existing Ingress objects for unexpected or untrusted path definitions.
  • Confirm remediation status against vendor advisory and issue references.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Credential and access behavior lookup

The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-25745 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.6 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.6CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L2.84.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.6High
CVSS 3.1 vector shape for CVE-2021-25745Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
KubernetesKubernetes ingress-nginxunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-20 · source CWE mapping

Improper Input Validation

Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.