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

CVE-2021-25742
HIGH 7.6

At a glance

Source
NVD
EPSS
EPSS 2.07 % · percentile 81 ()
State
PUBLISHED
Published
Updated
Assigner
kubernetes
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-20 — Improper Input Validation

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:Lkubernetes
CVSS 3.1HIGH 7.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:LNVD · jordan@liggitt.net (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NNVD · nvd@nist.gov (Primary)
CVSS 2.0MEDIUM 5.5AV:N/AC:L/Au:S/C:P/I:P/A:NNVD · nvd@nist.gov (Primary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Kubernetes · Kubernetes ingress-nginxaffected unspecified ≤ 0.49.0 ; unknown next of 0.49.0 < unspecified ; affected unspecified ≤ 1.0.0 ; unknown next of 1.0.0 < unspecified

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD