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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | crmsh | <= 4.2.1 | — | GHSA-99xx-83jm-h24m |
Advisories 27
- USN-6711-1 crmsh vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2533-1 crmsh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:0086-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0083-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10700-1 crmsh-4.3.1+20210913.d7356663-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0771-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2435-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1087-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0722-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0085-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0087-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0781-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0073-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0942-1 Security update for hawk2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12952-1 hawk2-2.6.4+git.1682509819.1ff135ea-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0055-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0782-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0806-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0941-1 Security update for hawk2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2239-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0410-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0084-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3121-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0473-1 Security update for hawk2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2238-1 Security update for crmsh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0943-1 Security update for hawk2 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2021:2435-1 Security update for crmsh SUSE / openSUSE Security Updates · May 2, 2025
References
- https://bugzilla.suse.com/show_bug.cgi?id=1179999
- https://github.com/ClusterLabs/crmsh/releases
- https://www.openwall.com/lists/oss-security/2021/01/12/3
- https://github.com/ClusterLabs/crmsh/blob/a403aa15f3ea575adfe5e43bf2a31c9f9094fcda/crmsh/history.py#L476
- [oss-security] 20210112 Security issues in hawk2 and crmsh mailing-list
- [debian-lts-announce] 20210125 [SECURITY] [DLA 2533-1] crmsh security update mailing-list