{"answers":{"affected":"1 open source package ship an affected version, including github.com/kubernetes/ingress-nginx.","exploited":"There is no known exploitation of CVE-2024-7646 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-7646 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-7646 is a high-severity command injection vulnerability in Kubernetes ingress-nginx, published on 16 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-7646 and fix it if it is affected.\n\nWhat it is: CVE-2024-7646 is a high-severity command injection vulnerability in Kubernetes ingress-nginx, published on 16 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-7646 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kubernetes/ingress-nginx (Go): affected all versions; no fix listed\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-2024-7646/ (Markdown: https://insights.sbomify.com/CVE-2024-7646/index.md)","id":"CVE-2024-7646","markdown":"https://insights.sbomify.com/CVE-2024-7646/index.md","name":"CVE-2024-7646","record":{"aliases":["GHSA-qx8j-xj5q-v7r3","GO-2024-3075"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes ingress controller","requires_auth":"low_privilege","summary":"Attackers with Ingress creation permissions can inject commands to steal controller credentials, exposing all cluster secrets.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to inject arbitrary commands and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2024-08-29","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-09-25T11:13:07Z","kind":"github_poc","ref":"https://github.com/dovics/cve-2024-7646","stars":1,"title":"PoC CVE-2024-7646"},{"date":"2024-08-29T19:10:08Z","kind":"github_poc","ref":"https://github.com/r0binak/CVE-2024-7646","stars":0,"title":"PoC CVE-2024-7646"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Command injection in ingress-nginx","id":"CVE-2024-7646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":1,"n_references":4,"next":{"headline":"OTA Sync Booking Engine Widget 1.2.7 - Cross-Site Request Forgery to Stored Cross-Site Scripting","id":"CVE-2024-7647"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/kubernetes/ingress-nginx","purl":"pkg:golang/github.com/kubernetes/ingress-nginx","source":"GO-2024-3075"}],"prev":{"headline":"SourceCodester Clinics Patient Management System User Page users.php cross-site request forgery","id":"CVE-2024-7645"},"products":["ingress-nginx"],"published":"2024-08-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-19","vendors":["Kubernetes"]},"summary":"Attackers with Ingress creation permissions can inject commands to steal controller credentials, exposing all cluster secrets.","url":"https://insights.sbomify.com/CVE-2024-7646/"}