CVE-2021-25746

HIGH

ingress-nginx < 1.2.0 - Unauthenticated Credential Exposure via Ingress Annotations

Title source: llm
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Issue Tracking, Mitigation, Third Party Advisory x_refsource_misc
https://groups.google.com/g/kubernetes-security-announce/c/hv2-SfdqcfQ
Issue Tracking, Mitigation, Third Party Advisory x_refsource_misc
https://github.com/kubernetes/ingress-nginx/issues/8503
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20220609-0006/

Scores

CVSS v3 7.6
EPSS 0.0134
EPSS Percentile 67.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Details

CWE
CWE-20
Status published
Products (1)
kubernetes/ingress-nginx < 1.2.0
Published May 06, 2022
Tracked Since Feb 18, 2026