{"answers":{"affected":"7 open source packages ship an affected version, including blazar-dashboard. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-26943 in the wild and no public exploit code.","fix":"Upgrade blazar-dashboard to a fixed version for your release line: 1.3.1, 2.0.1 or 3.0.1.","what":"CVE-2020-26943 is a critical code injection vulnerability in n/a, published on 16 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-26943 and fix it if it is affected.\n\nWhat it is: CVE-2020-26943 is a critical code injection vulnerability in n/a, published on 16 Oct 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-26943 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- blazar-dashboard (PyPI): affected all versions; fixed in 1.3.1, 2.0.1, 3.0.1\n- blazar-dashboard (PyPI): affected all versions; fixed in 1.3.1\n- blazar-dashboard (PyPI): affected all versions; fixed in 1.3.1\n- blazar-dashboard (PyPI): affected from 2.0.0; fixed in 2.0.1\n- blazar-dashboard (PyPI): affected from 2.0.0; fixed in 2.0.1\n- blazar-dashboard (PyPI): affected from 3.0.0; fixed in 3.0.1\n- blazar-dashboard (PyPI): affected from 3.0.0; fixed in 3.0.1\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-2020-26943/ (Markdown: https://insights.sbomify.com/CVE-2020-26943/index.md)","id":"CVE-2020-26943","markdown":"https://insights.sbomify.com/CVE-2020-26943/index.md","name":"CVE-2020-26943","record":{"aliases":["GHSA-939m-4xpw-v34v","PYSEC-2020-225"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Blazar dashboard","requires_auth":"low_privilege","summary":"A user with dashboard access can execute arbitrary code on the Horizon host via Python eval, leading to service compromise.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"blazar-dashboard","vendor":"openstack"}],"cvss":{"score":9.9,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"An issue was discovered in OpenStack blazar-dashboard before 1.3.1, 2.0.0, and 3.0.0. A user allowed to access the Blazar dashboard in Horizon may trigger code execution on the Horizon host as the user the Horizon service runs under (because the Python eval function is used). This may result in Horizon host unauthorized access and further compromise of the Horizon service. All setups using the Horizon dashboard with the blazar-dashboard plugin are affected.","ecosystems":["PyPI"],"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":"Arbitrary Code Execution in blazar-dashboard","id":"CVE-2020-26943","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":7,"n_references":8,"next":{"headline":"SQL injection in n/a","id":"CVE-2020-26944"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.1","2.0.1","3.0.1"],"introduced":["0","2.0.0","3.0.0"],"last_affected":[],"package":"blazar-dashboard","purl":"pkg:pypi/blazar-dashboard","source":"PYSEC-2020-225"},{"ecosystem":"PyPI","fixed":["1.3.1"],"introduced":["0"],"last_affected":[],"package":"blazar-dashboard","purl":null,"source":"GHSA-939m-4xpw-v34v"},{"ecosystem":"PyPI","fixed":["1.3.1"],"introduced":["0"],"last_affected":[],"package":"blazar-dashboard","purl":"pkg:pypi/blazar-dashboard","source":"GHSA-939m-4xpw-v34v"},{"ecosystem":"PyPI","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"blazar-dashboard","purl":null,"source":"GHSA-939m-4xpw-v34v"},{"ecosystem":"PyPI","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"blazar-dashboard","purl":"pkg:pypi/blazar-dashboard","source":"GHSA-939m-4xpw-v34v"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"blazar-dashboard","purl":null,"source":"GHSA-939m-4xpw-v34v"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"blazar-dashboard","purl":"pkg:pypi/blazar-dashboard","source":"GHSA-939m-4xpw-v34v"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2020-26942"},"products":["n/a"],"published":"2020-10-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":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"A user with dashboard access can execute arbitrary code on the Horizon host via Python eval, leading to service compromise.","url":"https://insights.sbomify.com/CVE-2020-26943/"}