{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openshift/openshift-controller-manager.","exploited":"There is no known exploitation of CVE-2024-45496 in the wild and no public exploit code.","fix":"Upgrade github.com/openshift/openshift-controller-manager to 0.0.0-alpha.0.0.20240911 or later.","what":"CVE-2024-45496 is a critical vulnerability in Red Hat OpenShift Container Platform 4.12, published on 16 Sep 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-45496 and fix it if it is affected.\n\nWhat it is: CVE-2024-45496 is a critical vulnerability in Red Hat OpenShift Container Platform 4.12, published on 16 Sep 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-45496 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openshift/openshift-controller-manager (Go): affected all versions; no fix listed\n- github.com/openshift/openshift-controller-manager (Go): affected all versions; fixed in 0.0.0-alpha.0.0.20240911\n- github.com/openshift/openshift-controller-manager (Go): affected all versions; fixed in 0.0.0-alpha.0.0.20240911\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-45496/ (Markdown: https://insights.sbomify.com/CVE-2024-45496/index.md)","id":"CVE-2024-45496","markdown":"https://insights.sbomify.com/CVE-2024-45496/index.md","name":"CVE-2024-45496","record":{"aliases":["GHSA-j8gh-87rx-c7w9","GO-2024-3128"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Container Platform","requires_auth":"low_privilege","summary":"An attacker with developer access can execute arbitrary commands on worker nodes by exploiting privileged git-clone containers during build initialization.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.","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":"Openshift-controller-manager: elevated build pods can lead to node compromise in openshift","id":"CVE-2024-45496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":3,"n_references":9,"next":{"headline":"Misconfiguration in Red Hat Fuse 7","id":"CVE-2024-45497"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/openshift-controller-manager","purl":"pkg:golang/github.com/openshift/openshift-controller-manager","source":"GO-2024-3128"},{"ecosystem":"Go","fixed":["0.0.0-alpha.0.0.20240911"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/openshift-controller-manager","purl":null,"source":"GHSA-j8gh-87rx-c7w9"},{"ecosystem":"Go","fixed":["0.0.0-alpha.0.0.20240911"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/openshift-controller-manager","purl":"pkg:golang/github.com/openshift/openshift-controller-manager","source":"GHSA-j8gh-87rx-c7w9"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2024-45495"},"products":["Red Hat OpenShift Container Platform 4.12","Red Hat OpenShift Container Platform 4.13","Red Hat OpenShift Container Platform 4.14","Red Hat OpenShift Container Platform 4.15","Red Hat OpenShift Container Platform 4.16","Red Hat OpenShift Container Platform 4.17","Red Hat OpenShift Container Platform 4.18"],"published":"2024-09-16","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":"total"},"state":"PUBLISHED","updated":"2026-08-11","vendors":["Red Hat"]},"summary":"An attacker with developer access can execute arbitrary commands on worker nodes by exploiting privileged git-clone containers during build initialization.","url":"https://insights.sbomify.com/CVE-2024-45496/"}