Live threats

All CVEs / Kubernetes

CVE-2021-25745Kubernetes Ingress-nginx

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
May 6, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the spec.rules[].http.paths[].path field of 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ingress-nginx.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go k8s.io/ingress-nginx < 1.2.0 1.2.0 go get k8s.io/ingress-nginx@v1.2.0

Per OSV / GitHub Advisories (GHSA-pvmg-xgmx-9mxh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kubernetesingress-nginx< 1.2.0

Official sources

References

Links published by the sources. Open them with care.