Bug 2076621 (CVE-2021-25745) - CVE-2021-25745 k8s.io/ingress-nginx: 'path' can be pointed to service account token file
Summary: CVE-2021-25745 k8s.io/ingress-nginx: 'path' can be pointed to service account...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-25745
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2076624
TreeView+ depends on / blocked
 
Reported: 2022-04-19 14:02 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-09-21 13:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-26 09:16:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-04-19 14:02:26 UTC
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. This bug affects ingress-nginx. If you do not have ingress-nginx installed on your cluster, you are not affected. You can check this by running `kubectl get po -n ingress-nginx`. Multitenant environments where non-admin users have permissions to create Ingress objects are most affected by this issue.

Comment 1 Product Security DevOps Team 2022-04-26 09:16:43 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-25745


Note You need to log in before you can comment on or make changes to this bug.