Skip to content
Fencer Vulns
high 7.8

CVE-2020-35459 json

ClusterLabs crmsh vulnerable to shell code injection

published 2021-01-12 5 y ago modified 2026-07-07 4 mo ago also GHSA-99xx-83jm-h24m , PYSEC-2026-799 , EUVD-2022-3345

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

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.

Patch / fix

  • crmsh Debian 14, Debian 13, Debian 12 4.2.1-2

debian advisories DEBIAN-CVE-2020-35459

  • crmsh Ubuntu 20.04 LTS 4.2.0-2ubuntu1.1

ubuntu advisories UBUNTU-CVE-2020-35459

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • crmsh SLE High Availability Extension 12 SP5, SLE High Availability Extension 12 SP4 4.1.1+git.1630047134.803a70f2-2.65.1
  • crmsh SLE High Availability Extension 15 SP3, SLE High Availability Extension 15 SP2 4.3.1+20210702.4e0ee8fb-5.59.1
  • crmsh SLE High Availability Extension 15 4.3.1+20210624.67223df2-3.74.1
  • crmsh SLE High Availability Extension 15 SP1 4.3.1+20210624.67223df2-3.69.1
  • hawk2 SLE High Availability Extension 12 SP3 2.6.3+git.1614685906.812c31e9-2.42.1
  • hawk2 SLE High Availability Extension 12 SP5, SLE High Availability Extension 12 SP4 2.6.3+git.1614685906.812c31e9-3.30.1
  • hawk2 SLE High Availability Extension 15 SP2, SLE High Availability Extension 15 SP1, SLE High Availability Extension 15 2.6.3+git.1614684118.af555ad9-3.27.1
  • crmsh SLE High Availability Extension 15 4.3.0+20210219.5d1bf034-3.62.3

suse advisories SUSE-SU-2021:3121-1SUSE-SU-2021:2435-1SUSE-SU-2021:2239-1SUSE-SU-2021:2238-1SUSE-SU-2021:0943-1SUSE-SU-2021:0942-1

  • crmsh openSUSE Tumbleweed 4.3.1+20210913.d7356663-1.2
  • hawk2 openSUSE Tumbleweed 2.6.4+git.1682509819.1ff135ea-1.1
  • crmsh openSUSE Leap 15.2 4.3.1+20210702.4e0ee8fb-lp152.4.59.1
  • crmsh openSUSE Leap 15.3 4.3.1+20210702.4e0ee8fb-5.59.1
  • hawk2 openSUSE Leap 15.2 2.6.3+git.1614684118.af555ad9-lp152.2.18.1
  • crmsh openSUSE Leap 15.2 4.3.0+20210305.9db5c9a8-lp152.4.47.1
  • crmsh openSUSE Leap 15.1 4.2.0+git.1607075079.a25648d8-lp151.2.45.1
  • crmsh openSUSE Leap 15.2 4.2.0+git.1607075079.a25648d8-lp152.4.39.1

opensuse advisories openSUSE-SU-2024:10700-1openSUSE-SU-2024:12952-1openSUSE-SU-2021:1087-1openSUSE-SU-2021:2435-1openSUSE-SU-2021:0473-1openSUSE-SU-2021:0410-1

Exploit prediction

0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • openwall.com https://www.openwall.com/lists/oss-security/2021/01/12/3 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi crmsh
<=4.2.1
no fix listed

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
  • CWE-269 Improper Privilege Management

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.