{"answers":{"affected":"3 open source packages ship an affected version, including github.com/openshift/must-gather.","exploited":"There is no known exploitation of CVE-2024-25131 in the wild and no public exploit code.","fix":"Upgrade github.com/openshift/must-gather to 0.0.0-20240604173837-d1557bc283dd or later.","what":"CVE-2024-25131 is a high-severity vulnerability in github.com/openshift/must-gather, published on 19 Dec 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-25131 and fix it if it is affected.\n\nWhat it is: CVE-2024-25131 is a high-severity vulnerability in github.com/openshift/must-gather, published on 19 Dec 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-25131 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/openshift/must-gather (Go): affected all versions; no fix listed\n- github.com/openshift/must-gather (Go): affected all versions; fixed in 0.0.0-20240604173837-d1557bc283dd\n- github.com/openshift/must-gather (Go): affected all versions; fixed in 0.0.0-20240604173837-d1557bc283dd\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-25131/ (Markdown: https://insights.sbomify.com/CVE-2024-25131/index.md)","id":"CVE-2024-25131","markdown":"https://insights.sbomify.com/CVE-2024-25131/index.md","name":"CVE-2024-25131","record":{"aliases":["GHSA-77c2-c35q-254w","GO-2024-3349"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Dedicated","requires_auth":"low_privilege","summary":"A non-privileged user can escalate to cluster administrator and pivot to AWS by crafting a MustGather object with a malicious YAML template.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","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 flaw was found in the MustGather.managed.openshift.io Custom Defined Resource (CRD) of OpenShift Dedicated. A non-privileged user on the cluster can create a MustGather object with a specially crafted file and set the most privileged service account to run the job. This can allow a standard developer user to escalate their privileges to a cluster administrator and pivot to the AWS environment.","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-dedicated: must-gather-operator: yaml template injection leads to privilege escalation","id":"CVE-2024-25131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":3,"n_references":4,"next":{"headline":"Openshift-dedicated: hive: hibernation controller denial of service","id":"CVE-2024-25132"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/must-gather","purl":"pkg:golang/github.com/openshift/must-gather","source":"GO-2024-3349"},{"ecosystem":"Go","fixed":["0.0.0-20240604173837-d1557bc283dd"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/must-gather","purl":null,"source":"GHSA-77c2-c35q-254w"},{"ecosystem":"Go","fixed":["0.0.0-20240604173837-d1557bc283dd"],"introduced":["0"],"last_affected":[],"package":"github.com/openshift/must-gather","purl":"pkg:golang/github.com/openshift/must-gather","source":"GHSA-77c2-c35q-254w"}],"prev":{"headline":"Tuleap's mass update clears the permissions on artifact field","id":"CVE-2024-25130"},"products":[],"published":"2024-12-19","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":"2025-07-23","vendors":[]},"summary":"A non-privileged user can escalate to cluster administrator and pivot to AWS by crafting a MustGather object with a malicious YAML template.","url":"https://insights.sbomify.com/CVE-2024-25131/"}