{"answers":{"affected":"3 open source packages ship an affected version, including crmsh. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-35459 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2020-35459 is a high-severity command injection vulnerability in Debian Debian Linux, published on 12 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-35459 and fix it if it is affected.\n\nWhat it is: CVE-2020-35459 is a high-severity command injection vulnerability in Debian Debian Linux, published on 12 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-35459 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- crmsh (PyPI): affected all versions up to 4.2.1; no fix listed\n- crmsh (PyPI): affected all versions up to 4.2.1; no fix listed\n- crmsh (PyPI): affected all versions up to 4.2.1; no fix listed\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-35459/ (Markdown: https://insights.sbomify.com/CVE-2020-35459/index.md)","id":"CVE-2020-35459","markdown":"https://insights.sbomify.com/CVE-2020-35459/index.md","name":"CVE-2020-35459","record":{"aliases":["DEBIAN-CVE-2020-35459","DLA-2533-1","GHSA-99xx-83jm-h24m","PYSEC-2026-799","SUSE-SU-2021:0083-1","SUSE-SU-2021:0084-1","SUSE-SU-2021:0085-1","SUSE-SU-2021:0086-1","SUSE-SU-2021:0087-1","SUSE-SU-2021:2238-1","SUSE-SU-2021:2239-1","SUSE-SU-2021:2435-1","SUSE-SU-2021:3121-1","UBUNTU-CVE-2020-35459","USN-6711-1","openSUSE-SU-2021:0055-1","openSUSE-SU-2021:0073-1","openSUSE-SU-2021:1087-1","openSUSE-SU-2021:2435-1","openSUSE-SU-2024:10700-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ClusterLabs crmsh","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary commands via shell injection in the crm history command, potentially escalating privileges.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"crmsh","vendor":"clusterlabs"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An issue was discovered in ClusterLabs crmsh through 4.2.1. Local attackers able to call \"crm history\" (when \"crm\" is run) were able to execute commands via shell code injection to the crm history commandline, potentially allowing escalation of privileges.","ecosystems":["PyPI","SUSE:Linux Enterprise High Availability Extension 12 SP3","SUSE:Linux Enterprise High Availability Extension 12 SP4","SUSE:Linux Enterprise High Availability Extension 12 SP5","SUSE:Linux Enterprise High Availability Extension 15","SUSE:Linux Enterprise High Availability Extension 15 SP1","SUSE:Linux Enterprise High Availability Extension 15 SP2","SUSE:Linux Enterprise High Availability Extension 15 SP3","openSUSE:Leap 15.1","openSUSE:Leap 15.2","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"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":"ClusterLabs crmsh vulnerable to shell code injection","id":"CVE-2020-35459","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"command_injection","year":"2020"},"n_packages":20,"n_references":6,"next":{"headline":"MPXJ path Traversal vulnerability","id":"CVE-2020-35460"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"crmsh","purl":null,"source":"GHSA-99xx-83jm-h24m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"crmsh","purl":"pkg:pypi/crmsh","source":"GHSA-99xx-83jm-h24m"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["4.2.1"],"package":"crmsh","purl":"pkg:pypi/crmsh","source":"PYSEC-2026-799"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP3","fixed":["3.0.4+git.1607490926.e492f845-13.56.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP3","source":"SUSE-SU-2021:0084-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP4","fixed":["4.1.0+git.1607482714.9633b80d-2.50.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP4","source":"SUSE-SU-2021:0083-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP4","fixed":["4.1.1+git.1630047134.803a70f2-2.65.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP4","source":"SUSE-SU-2021:3121-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP5","fixed":["4.1.0+git.1607482714.9633b80d-2.50.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP5","source":"SUSE-SU-2021:0083-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP5","fixed":["4.1.1+git.1630047134.803a70f2-2.65.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2012%20SP5","source":"SUSE-SU-2021:3121-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15","fixed":["4.2.0+git.1607075079.a25648d8-3.56.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015","source":"SUSE-SU-2021:0087-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15","fixed":["4.3.1+20210624.67223df2-3.74.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015","source":"SUSE-SU-2021:2239-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP1","fixed":["4.2.0+git.1607075079.a25648d8-3.51.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1","source":"SUSE-SU-2021:0085-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP1","fixed":["4.3.1+20210624.67223df2-3.69.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1","source":"SUSE-SU-2021:2238-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP2","fixed":["4.2.0+git.1607075079.a25648d8-5.32.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP2","source":"SUSE-SU-2021:0086-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP2","fixed":["4.3.1+20210702.4e0ee8fb-5.59.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP2","source":"SUSE-SU-2021:2435-1"},{"ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP3","fixed":["4.3.1+20210702.4e0ee8fb-5.59.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/suse/crmsh\u0026distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP3","source":"SUSE-SU-2021:2435-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["4.2.0+git.1607075079.a25648d8-lp151.2.45.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/opensuse/crmsh\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2021:0073-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["4.2.0+git.1607075079.a25648d8-lp152.4.39.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/opensuse/crmsh\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0055-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["4.3.1+20210702.4e0ee8fb-lp152.4.59.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/opensuse/crmsh\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:1087-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["4.3.1+20210702.4e0ee8fb-5.59.1"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/opensuse/crmsh\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2435-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.3.1+20210913.d7356663-1.2"],"introduced":["0"],"last_affected":[],"package":"crmsh","purl":"pkg:rpm/opensuse/crmsh\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10700-1"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2020-35458"},"products":["n/a"],"published":"2021-01-12","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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-04","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary commands via shell injection in the crm history command, potentially escalating privileges.","url":"https://insights.sbomify.com/CVE-2020-35459/"}