CVE-2021-25742

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

Published Oct 29, 2021 CVSS 3.1 · 7.6 High EPSS 2.1% KEV · Not listed
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.

Remediation

Vendor Workaround

This can be mitigated by disallowing snippet annotations on a supported version. Refer to https://github.com/kubernetes/ingress-nginx/issues/7837 for instructions.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-12628 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.
History

No history.

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 16, 2024, 11:06 PM
Reserved
Jan 21, 2021, 12:00 AM
Status
Modified
Published
Oct 29, 2021, 4:15 AM
Modified
Jun 17, 2026, 3:42 AM
Severity
Important
Public date
Oct 21, 2021, 4:00 PM