{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2012-5646 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-5646 is a high-severity command injection vulnerability in Redhat Openshift, published on 24 Feb 2013. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-5646 and fix it if it is affected.\n\nWhat it is: CVE-2012-5646 is a high-severity command injection vulnerability in Redhat Openshift, published on 24 Feb 2013. 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-2012-5646 in the wild and no public exploit code.\n\nAffected product: Redhat Openshift. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2012-5646/ (Markdown: https://insights.sbomify.com/CVE-2012-5646/index.md)","id":"CVE-2012-5646","markdown":"https://insights.sbomify.com/CVE-2012-5646/index.md","name":"CVE-2012-5646","record":{"aliases":["GHSA-pqmr-2w8v-x3jr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Origin","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands via a crafted uuid in the PATH_INFO of the restorer.php script.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift","vendor":"redhat"},{"product":"openshift_origin","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"node-util/www/html/restorer.php in the Red Hat OpenShift Origin before 1.0.5-3 allows remote attackers to execute arbitrary commands via a crafted uuid in the PATH_INFO.","ecosystems":[],"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":"Command injection in n/a","id":"CVE-2012-5646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openshift","products":["redhat:openshift"],"type":"command_injection","year":"2012"},"n_packages":0,"n_references":6,"next":{"headline":"Open redirect in n/a","id":"CVE-2012-5647"},"packages":[],"prev":{"headline":"Denial of service in freeciv","id":"CVE-2012-5645"},"products":["n/a"],"published":"2013-02-24","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2014-3496","kev_date_added":null,"published":"2014-06-20"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Red Hat OpenShift Enterprise","id":"CVE-2014-0234","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Command injection in OpenShift Origin","id":"CVE-2013-2060","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":9.1,"headline":"Path traversal in openshift-origin-msg-node-mcollective","id":"CVE-2013-4561","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":8.8,"headline":"Command injection in Openshift","id":"CVE-2014-0163","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":8.8,"headline":"Path traversal in atomic-openshift","id":"CVE-2018-1102","kev_date_added":null,"published":"2018-04-30"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2160","kev_date_added":null,"published":"2016-06-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands via a crafted uuid in the PATH_INFO of the restorer.php script.","url":"https://insights.sbomify.com/CVE-2012-5646/"}