Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kubernetes/ingress-nginx
  4. ›
  5. CVE-2021-25742

CVE-2021-25742: Improper Input Validation

October 29, 2021 (updated December 15, 2021)

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.

References

  • github.com/kubernetes/ingress-nginx/issues/7837
  • groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQY
  • nvd.nist.gov/vuln/detail/CVE-2021-25742

Code Behaviors & Features

Detect and mitigate CVE-2021-25742 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.49.1, version 1.0.0

Fixed versions

  • v0.49.1
  • v1.0.1

Solution

Upgrade to version 0.49.1, 1.0.1 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Source file

go/github.com/kubernetes/ingress-nginx/CVE-2021-25742.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.