Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/ingress-nginx
  4. ›
  5. CVE-2025-24513

CVE-2025-24513: ingress-nginx controller - auth secret file path traversal vulnerability

March 25, 2025

A security issue was discovered in ingress-nginx where attacker-provided data are included in a filename by the ingress-nginx Admission Controller feature, resulting in directory traversal within the container. This could result in denial of service, or when combined with other vulnerabilities, limited disclosure of Secret objects from the cluster.

References

  • github.com/advisories/GHSA-242m-6h72-7hgp
  • github.com/kubernetes/ingress-nginx
  • github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.11.5
  • github.com/kubernetes/ingress-nginx/releases/tag/controller-v1.12.1
  • github.com/kubernetes/kubernetes/issues/131005
  • groups.google.com/g/kubernetes-security-announce/c/2qa9DFtN0cQ
  • nvd.nist.gov/vuln/detail/CVE-2025-24513

Code Behaviors & Features

Detect and mitigate CVE-2025-24513 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 1.11.5, all versions starting from 1.12.0-beta.0 before 1.12.1

Fixed versions

  • 1.11.5
  • 1.12.1

Solution

Upgrade to versions 1.11.5, 1.12.1 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/k8s.io/ingress-nginx/CVE-2025-24513.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:30 +0000.