CVE-2021-25742
JSON

7.6high

Ingress-nginx custom snippets allows retrieval of ingress-nginx serviceaccount token and secrets across all namespaces

Severity
7.6high CVSS:3.1 by kubernetes
Exploit likelihood
2.11% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
kubernetes

Description

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.

Affected

Product or packageVersionsReported by
Kubernetes Kubernetes ingress-nginxfrom unspecified up to 0.49.0, from next of 0.49.0 before unspecified, from unspecified up to 1.0.0, from next of 1.0.0 before unspecifiedCVE List
kubernetes ingress-nginxbefore 0.49.1, 1.0.0NVD
netapp tridentNot specifiedNVD

All scores

kubernetes7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.

NVD (es)

Se ha detectado un problema de seguridad en ingress-nginx donde un usuario que puede crear o actualizar objetos de entrada puede usar la función de fragmentos personalizados para obtener todos los secretos del clúster

References

https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQYmailing-list, mitigation, third-party-advisory
https://github.com/kubernetes/ingress-nginx/issues/7837exploit, issue-tracking, mitigation, third-party-advisory
https://security.netapp.com/advisory/ntap-20211203-0001/third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-25742 changed 2024-09-16CVE Terms of Use
NVDCVE-2021-25742 changed 2026-06-17Public domain