Vulnerability Details : CVE-2021-25745
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.
Vulnerability category: Input validation
Products affected by CVE-2021-25745
- cpe:2.3:a:kubernetes:ingress-nginx:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-25745
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 40 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-25745
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:N |
8.0
|
4.9
|
NIST | |
7.6
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
2.8
|
4.7
|
Kubernetes | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
2.8
|
5.2
|
NIST |
CWE ids for CVE-2021-25745
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by:
- jordan@liggitt.net (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2021-25745
-
https://groups.google.com/g/kubernetes-security-announce/c/7vQrpDZeBlc
[Security Advisory] CVE-2021-25745: Ingress-nginx `path` can be pointed to service account token fileIssue Tracking;Mailing List;Mitigation;Third Party Advisory
-
https://github.com/kubernetes/ingress-nginx/issues/8502
CVE-2021-25745: Ingress-nginx `path` can be pointed to service account token file · Issue #8502 · kubernetes/ingress-nginx · GitHubIssue Tracking;Mitigation;Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20220609-0006/
May 2022 Kubernetes Vulnerabilities in NetApp Products | NetApp Product SecurityThird Party Advisory
Jump to