A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in 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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-12630 A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use .metadata.annotations in 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00284}

epss

{'score': 0.00342}


cve-icon MITRE

Status: PUBLISHED

Assigner: kubernetes

Published:

Updated: 2024-09-17T03:48:11.881Z

Reserved: 2021-01-21T00:00:00

Link: CVE-2021-25746

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-05-06T01:15:09.180

Modified: 2024-11-21T05:55:20.250

Link: CVE-2021-25746

cve-icon Redhat

Severity : Important

Publid Date: 2022-04-22T16:00:00Z

Links: CVE-2021-25746 - Bugzilla

cve-icon OpenCVE Enrichment

No data.