{"answers":{"affected":"5 open source packages ship an affected version, including k8s.io/ingress-nginx.","exploited":"There is no known exploitation of CVE-2025-24513 in the wild and no public exploit code.","fix":"Upgrade k8s.io/ingress-nginx to a fixed version for your release line: 1.11.5 or 1.12.1.","what":"CVE-2025-24513 is a medium-severity path traversal vulnerability in kubernetes ingress-nginx, published on 24 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-24513 and fix it if it is affected.\n\nWhat it is: CVE-2025-24513 is a medium-severity path traversal vulnerability in kubernetes ingress-nginx, published on 24 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-24513 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/ingress-nginx (Go): affected all versions; no fix listed\n- k8s.io/ingress-nginx (Go): affected all versions; fixed in 1.11.5\n- k8s.io/ingress-nginx (Go): affected all versions; fixed in 1.11.5\n- k8s.io/ingress-nginx (Go): affected from 1.12.0-beta.0; fixed in 1.12.1\n- k8s.io/ingress-nginx (Go): affected from 1.12.0-beta.0; fixed in 1.12.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-24513/ (Markdown: https://insights.sbomify.com/CVE-2025-24513/index.md)","id":"CVE-2025-24513","markdown":"https://insights.sbomify.com/CVE-2025-24513/index.md","name":"CVE-2025-24513","record":{"aliases":["GHSA-242m-6h72-7hgp","GO-2025-3564","MINI-469j-wj87-7338","MINI-6jjx-9c2f-3gxr","MINI-7chp-54mx-9rc3","MINI-834c-3cx4-44hp","MINI-9v5f-5fx5-hvq8","MINI-j94x-86g9-gm22","MINI-r827-jf9v-ghjf","MINI-v7q2-8m35-pjjm","MINI-w55x-jvc9-cx9f","MINI-wpmh-5wr2-j6pc"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Kubernetes ingress controller","requires_auth":"none","summary":"Attacker-controlled data in filenames causes directory traversal in the ingress-nginx admission controller, leading to denial of service or secret disclosure.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A security issue was discovered in  ingress-nginx https://github.com/kubernetes/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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"ingress-nginx controller - auth secret file path traversal vulnerability","id":"CVE-2025-24513","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":5,"n_references":1,"next":{"headline":"ingress-nginx controller - configuration injection via unsanitized auth-url annotation","id":"CVE-2025-24514"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","source":"GO-2025-3564"},{"ecosystem":"Go","fixed":["1.11.5"],"introduced":["0"],"last_affected":[],"package":"k8s.io/ingress-nginx","purl":null,"source":"GHSA-242m-6h72-7hgp"},{"ecosystem":"Go","fixed":["1.11.5"],"introduced":["0"],"last_affected":[],"package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","source":"GHSA-242m-6h72-7hgp"},{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["1.12.0-beta.0"],"last_affected":[],"package":"k8s.io/ingress-nginx","purl":null,"source":"GHSA-242m-6h72-7hgp"},{"ecosystem":"Go","fixed":["1.12.1"],"introduced":["1.12.0-beta.0"],"last_affected":[],"package":"k8s.io/ingress-nginx","purl":"pkg:golang/k8s.io/ingress-nginx","source":"GHSA-242m-6h72-7hgp"}],"prev":{"headline":"Denial of service in Intel(R) PROSet/Wireless WiFi Software for Windows","id":"CVE-2025-24512"},"products":["ingress-nginx"],"published":"2025-03-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["kubernetes"]},"summary":"Attacker-controlled data in filenames causes directory traversal in the ingress-nginx admission controller, leading to denial of service or secret disclosure.","url":"https://insights.sbomify.com/CVE-2025-24513/"}