CVE-2021-25746

Ingress-nginx directive injection via annotations

Published May 6, 2022 CVSS 3.1 · 7.6 High EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00284}

epss

{'score': 0.00342}

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 17, 2024, 3:48 AM
Reserved
Jan 21, 2021, 12:00 AM
Status
Modified
Published
May 6, 2022, 1:15 AM
Modified
Jun 17, 2026, 3:42 AM
Severity
Important
Public date
Apr 22, 2022, 4:00 PM