VDB

CVE-2021-25742

CVE-2021-25742 PUBLISHED CVSS 7.6 HIGH

Reported by kubernetes · Published October 29, 2021

github.com/kubernetes/ingress-nginx is fixed in v0.49.1 and 0.49.1 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/kubernetes/ingress-nginxGo Modulesv0.49.1, 0.49.1
kubectl-ingress-nginxArch Linux1.0.4-1
nginx-ingress-controllerBitnami1.0.1, 0.49.1
ingress-nginxkubernetes0.49.1
Kubernetes ingress-nginxKubernetesunspecified, 1.0.0, 0.49.0
nginx-ingress-controllerBitnami1.0.1, 0.49.1

Risk scores

CVSS 3.1
7.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Affected products

VendorProductVersions
KubernetesKubernetes ingress-nginxunspecified, next of 0.49.0, unspecified
archkubectl-ingress-nginx0
KubernetesKubernetes ingress-nginx*, 0.49.0, *
github.comkubernetes/ingress-nginx0, 1.0.0

Timeline

  • Oct 29, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 29, 2021 CVE Published
  • Aug 13, 2022 PoC Published (5 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Aug 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-25742
vulnetix vdb fixes CVE-2021-25742

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-25742/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›