Skip to content
OpenAdvisories
High · 7.8 CVE-2020-35459 EUVD-2022-3345GHSA-99xx-83jm-h24mPYSEC-2026-799

ClusterLabs crmsh vulnerable to shell code injection

Published Jan 12, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 crmsh 4.2.1-2 —
Debian 13 crmsh 4.2.1-2 —
Debian 12 crmsh 4.2.1-2 —
Debian 9 crmsh 2.3.2-4+deb9u1 DLA-2533-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS crmsh 4.2.0-2ubuntu1.1 USN-6711-1
Ubuntu 18.04 LTS crmsh No fix yet —
Ubuntu 16.04 LTS crmsh No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 crmsh 4.3.1+20210702.4e0ee8fb-5.59.1 SUSE-SU-2021:2435-1
SLES 15 SP2 crmsh 4.2.0+git.1607075079.a25648d8-5.32.1 SUSE-SU-2021:2435-1, SUSE-SU-2021:0781-1, SUSE-SU-2021:0086-1
SLES 15 SP2 hawk2 2.6.3+git.1614684118.af555ad9-3.27.1 SUSE-SU-2021:0941-1
SLES 15 SP1 crmsh 4.2.0+git.1607075079.a25648d8-3.51.1 SUSE-SU-2021:2238-1, SUSE-SU-2021:0782-1, SUSE-SU-2021:0085-1
SLES 15 SP1 hawk2 2.6.3+git.1614684118.af555ad9-3.27.1 SUSE-SU-2021:0941-1
SLES 15 crmsh 4.2.0+git.1607075079.a25648d8-3.56.1 SUSE-SU-2021:2239-1, SUSE-SU-2021:0806-1, SUSE-SU-2021:0087-1
SLES 15 hawk2 2.6.3+git.1614684118.af555ad9-3.27.1 SUSE-SU-2021:0941-1
SLES 12 SP5 crmsh 4.1.0+git.1607482714.9633b80d-2.50.1 SUSE-SU-2021:3121-1, SUSE-SU-2021:0722-1, SUSE-SU-2021:0083-1
SLES 12 SP5 hawk2 2.6.3+git.1614685906.812c31e9-3.30.1 SUSE-SU-2021:0942-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 crmsh 4.1.0+git.1607482714.9633b80d-2.50.1 SUSE-SU-2021:3121-1, SUSE-SU-2021:0722-1, SUSE-SU-2021:0083-1
SLES 12 SP4 hawk2 2.6.3+git.1614685906.812c31e9-3.30.1 SUSE-SU-2021:0942-1
SLES 12 SP3 crmsh 3.0.4+git.1607490926.e492f845-13.56.1 SUSE-SU-2021:0771-1, SUSE-SU-2021:0084-1
SLES 12 SP3 hawk2 2.6.3+git.1614685906.812c31e9-2.42.1 SUSE-SU-2021:0943-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed crmsh 4.3.1+20210913.d7356663-1.2 openSUSE-SU-2024:10700-1
openSUSE Tumbleweed hawk2 2.6.4+git.1682509819.1ff135ea-1.1 openSUSE-SU-2024:12952-1
openSUSE Leap 15.3 crmsh 4.3.1+20210702.4e0ee8fb-5.59.1 openSUSE-SU-2021:2435-1
openSUSE Leap 15.2 crmsh 4.2.0+git.1607075079.a25648d8-lp152.4.39.1 openSUSE-SU-2021:1087-1, openSUSE-SU-2021:0410-1, openSUSE-SU-2021:0055-1
openSUSE Leap 15.2 hawk2 2.6.3+git.1614684118.af555ad9-lp152.2.18.1 openSUSE-SU-2021:0473-1
openSUSE Leap 15.1 crmsh 4.2.0+git.1607075079.a25648d8-lp151.2.45.1 openSUSE-SU-2021:0073-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI crmsh <= 4.2.1 — GHSA-99xx-83jm-h24m

Advisories 27

References