{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-2121 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2013-2121 is a medium-severity code injection vulnerability in Redhat Openstack, published on 31 Jul 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-2121 and fix it if it is affected.\n\nWhat it is: CVE-2013-2121 is a medium-severity code injection vulnerability in Redhat Openstack, published on 31 Jul 2013. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-2121 exists.\n\nAffected product: Redhat Openstack. 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-2013-2121/ (Markdown: https://insights.sbomify.com/CVE-2013-2121/index.md)","id":"CVE-2013-2121","markdown":"https://insights.sbomify.com/CVE-2013-2121/index.md","name":"CVE-2013-2121","record":{"aliases":["GHSA-j6g9-xm4c-vp6v"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Foreman IT management","requires_auth":"low_privilege","summary":"Authenticated users with bookmark creation permissions can execute arbitrary code via eval injection in the Foreman web application.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openstack","vendor":"redhat"},{"product":"foreman","vendor":"theforeman"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Eval injection vulnerability in the create method in the Bookmarks controller in Foreman before 1.2.0-RC2 allows remote authenticated users with permissions to create bookmarks to execute arbitrary code via a controller name attribute.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2013-06-06","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2013-06-06","kind":"metasploit","ref":"exploit/linux/http/foreman_openstack_satellite_code_exec","stars":null,"title":"Foreman (Red Hat OpenStack/Satellite) bookmarks/create Code Injection"},{"date":"2013-07-23","kind":"exploitdb","ref":"27045","stars":null,"title":"Foreman (RedHat OpenStack/Satellite) - bookmarks/create Code Injection (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"Code injection in n/a","id":"CVE-2013-2121","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openstack","products":["redhat:openstack","theforeman:foreman"],"type":"code_injection","year":"2013"},"n_packages":0,"n_references":5,"next":{"headline":"Missing authorization in n/a","id":"CVE-2013-2122"},"packages":[],"prev":{"headline":"Weak cryptography in KDE Paste Applet","id":"CVE-2013-2120"},"products":["n/a"],"published":"2013-07-31","related":[{"cvss_score":10,"headline":"Hardcoded credentials in n/a","id":"CVE-2015-1842","kev_date_added":null,"published":"2015-04-10"},{"cvss_score":9.9,"headline":"Auth bypass in rhosp-director","id":"CVE-2017-2637","kev_date_added":null,"published":"2018-07-26"},{"cvss_score":8.8,"headline":"Privilege escalation in OpenStack","id":"CVE-2022-38065","kev_date_added":null,"published":"2022-12-21"},{"cvss_score":8.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2016-4474","kev_date_added":null,"published":"2016-06-30"},{"cvss_score":7.5,"headline":"Information disclosure in tripleo-ansible","id":"CVE-2021-31918","kev_date_added":null,"published":"2021-05-06"},{"cvss_score":7.5,"headline":"Hardcoded credentials in openstack-db program","id":"CVE-2013-1793","kev_date_added":null,"published":"2019-12-10"},{"cvss_score":7.5,"headline":"Security feature bypass in n/a","id":"CVE-2014-3691","kev_date_added":null,"published":"2015-03-09"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Authenticated users with bookmark creation permissions can execute arbitrary code via eval injection in the Foreman web application.","url":"https://insights.sbomify.com/CVE-2013-2121/"}