CVE-2021-25746
JSON

7.6high

Ingress-nginx directive injection via annotations

Severity
7.6high CVSS:3.1 by kubernetes
Exploit likelihood
1.44% (higher than 73% 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 .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.

Affected

Product or packageVersionsReported by
Kubernetes Kubernetes ingress-nginxfrom unspecified before 1.2.0CVE List
kubernetes ingress-nginxbefore 1.2.0NVD

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 .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.

NVD (es)

Se ha detectado un problema de seguridad en ingress-nginx en el que un usuario que puede crear o actualizar objetos ingress puede usar .metadata.annotations en un objeto Ingress (en el grupo networking.k8s.io o extensions API) para obtener las credenciales del controlador ingress-nginx. En la configuración por defecto, esa credencial presenta acceso a todos los secretos del clúster

References

Sources

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