{"id":"CVE-2020-35459","aliases":["CVE-2020-35459","GHSA-99xx-83jm-h24m","PYSEC-2026-799"],"related":[],"kind":"vulnerability","state":"published","title":"ClusterLabs crmsh vulnerable to shell code injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en ClusterLabs crmsh versiones hasta 4.2.1.&#xa0;Los atacantes locales capaces de llamar a \"crm history\" (cuando se ejecuta \"crm\") fueron capaces de ejecutar comandos por medio de una inyección de código de shell en la línea de comandos del histórico del crm, potencialmente  permitiendo una escalada de privilegios","source":"nvd"}],"published":"2021-01-12T14:32:23.000Z","modified":"2026-07-07T11:56:09.898Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78","CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.2.1"}],"ecosystem":"PyPI","package":"crmsh","purl":"pkg:pypi/crmsh","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"4.2.1"}],"vendor":"clusterlabs","product":"crmsh","cpe":"cpe:2.3:a:clusterlabs:crmsh:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.2.1"}],"ecosystem":"PyPI","package":"crmsh","purl":"pkg:pypi/crmsh","source":"pysec"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1179999","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ClusterLabs/crmsh/releases","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.openwall.com/lists/oss-security/2021/01/12/3","tags":["exploit","mailing-list","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2021/01/12/3","tags":["mailing-list","patch","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00021.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35459","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ClusterLabs/crmsh","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/crmsh","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-99xx-83jm-h24m","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35459","url":"https://www.cve.org/CVERecord?id=CVE-2020-35459","licence":"CVE Terms of Use","modified":"2024-08-04T17:02:08.101Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-99xx-83jm-h24m","url":"https://github.com/advisories/GHSA-99xx-83jm-h24m","licence":"CC-BY-4.0","modified":"2026-07-07T11:56:09.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35459","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35459","licence":"Public domain","modified":"2026-06-17T03:13:44.800Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-799","url":"https://osv.dev/vulnerability/PYSEC-2026-799","licence":"CC-BY-4.0","modified":"2026-07-07T11:45:44.500Z"}],"updatedAt":"2026-11-25T22:57:56.982Z","epss":{"score":0.00689,"percentile":0.54033,"date":"2026-12-01T12:00:22.000Z"}}