{"id":"CVE-2021-3020","aliases":["EUVD-2021-26373","GHSA-cw6w-5gqc-jh8j","MGASA-2023-0073","SUSE-SU-2021:0722-1","SUSE-SU-2021:0771-1","SUSE-SU-2021:0781-1","SUSE-SU-2021:0782-1","SUSE-SU-2021:0806-1","openSUSE-SU-2021:0410-1"],"status":"published","title":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the...","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01254,"percentile":0.69709,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-77"],"published":"2021-03-08T15:42:37Z","modified":"2026-10-20T10:54:39Z","fixes":[{"ecosystem":"Mageia:8","package":"crmsh","fixed_in":["4.4.0-1.mga8"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:8","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.0-1.mga8"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP4","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0+git.1614156984.f4f5e146-2.56.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP5","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0+git.1614156984.f4f5e146-2.56.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 12 SP3","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4+git.1614156978.4c1dc46d-13.62.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP2","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0+20210305.9db5c9a8-5.42.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 15 SP1","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0+20210219.5d1bf034-3.57.3"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Availability Extension 15","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0+20210219.5d1bf034-3.62.3"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"crmsh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0+20210305.9db5c9a8-lp152.4.47.1"}]}],"bundled":2}],"products":[{"vendor":"clusterlabs","product":"hawk"}],"references":[{"url":"https://github.com/ClusterLabs/hawk/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1180571","tags":["x_refsource_MISC","x_transferred","Permissions Required","report"]},{"url":"https://github.com/ClusterLabs/crmsh/commit/c538024b8ebd138dc373b005189471d9b77e9c82","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3020"},{"url":"https://github.com/advisories/GHSA-cw6w-5gqc-jh8j"},{"url":"https://advisories.mageia.org/MGASA-2023-0073.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29047","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BNDVFBI7G272LNZ2QQZ4MY56KX2J4C36/","tags":["web","advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210722-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1154927","tags":["report"]},{"url":"https://bugzilla.suse.com/1178454","tags":["report"]},{"url":"https://bugzilla.suse.com/1178869","tags":["report"]},{"url":"https://bugzilla.suse.com/1179999","tags":["report"]},{"url":"https://bugzilla.suse.com/1180571","tags":["report"]},{"url":"https://bugzilla.suse.com/1180688","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2020-35459","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3020","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210771-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210781-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1180126","tags":["report"]},{"url":"https://bugzilla.suse.com/1180137","tags":["report"]},{"url":"https://bugzilla.suse.com/1181415","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210782-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210806-1/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-3020","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","status":"published","published":"2022-08-25T23:32:32Z","modified":"2024-08-03T16:45:50.792Z","updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-26373","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","status":"published","published":"2022-08-25T23:32:32Z","modified":"2024-08-03T16:45:50Z","updated_at":"2026-11-03T03:25:14.091701Z"}],"ghsa":[{"id":"GHSA-cw6w-5gqc-jh8j","title":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the...","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","status":"published","published":"2022-08-27T00:00:54Z","modified":"2023-01-31T05:02:38Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:48:18.466773Z"}],"nvd":[{"id":"CVE-2021-3020","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","status":"published","published":"2022-08-26T00:15:08.773Z","modified":"2026-06-17T04:04:34.497Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:07:06.906968Z"}],"osv":[{"id":"CVE-2021-3020","description":"An issue was discovered in ClusterLabs Hawk (aka HA Web Konsole) through 2.3.0-15. It ships the binary hawk_invoke (built from tools/hawk_invoke.c), intended to be used as a setuid program. This allows the hacluster user to invoke certain commands as root (with an attempt to limit this to safe combinations). This user is able to execute an interactive \"shell\" that isn't limited to the commands specified in hawk_invoke, allowing escalation to root.","status":"published","published":"2022-08-26T00:15:08.773Z","modified":"2026-10-20T10:54:39.464765611Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"MGASA-2023-0073","title":"Updated crmsh packages fix security vulnerability","description":"Privilege escalation (CVE-2021-3020) and other fixes.\n","status":"published","published":"2023-03-01T21:14:31Z","modified":"2026-04-16T04:42:30.725742763Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"openSUSE-SU-2021:0410-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 4.3.0+20210305.9db5c9a8:\n  * Fix: bootstrap: Adjust qdevice configure/remove process to avoid race condition due to quorum lost(bsc#1181415)\n  * Dev: cibconfig: remove related code about detecting crm_diff support --no-verion\n  * Fix: ui_configure: raise error when params not exist(bsc#1180126)\n  * Dev: doc: remove doc for crm node status\n  * Dev: ui_node: remove status subcommand\n\n- Update to version 4.3.0+20210219.5d1bf034:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: analyze: Add analyze sublevel and put preflight_check in it(jsc#ECO-1658)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: hb_report: Detect if any ocfs2 partitions exist\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Fix: Replace mktemp() to mkstemp() for security\n  * Fix: Remove the duplicate --cov-report html in tox.\n  * Fix: fix some lint issues.\n  * Fix: Replace utils.msg_info to task.info\n  * Fix: Solve a circular import error of utils.py\n  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: preflight_check: task: raise error when report_path isn't a directory\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Dev: Polish the sbd feature.\n  * Dev: Replace -f with -c and run check when no parameter provide.\n  * Fix: Fix the yes option not working\n  * Fix: Remove useless import and show help when no input.\n  * Dev: Correct SBD device id inconsistenc during ASR\n  * Fix: completers: return complete start/stop resource id list correctly(bsc#1180137)\n  * Dev: Makefile.am: change makefile to integrate preflight_check\n  * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n\nThis update was imported from the SUSE:SLE-15-SP2:Update update project.","status":"published","published":"2021-03-14T14:11:13Z","modified":"2026-02-04T02:54:54.782801Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"SUSE-SU-2021:0722-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 4.1.0+git.1614156984.f4f5e146:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Dev: hb_report: Detect if any ocfs2 partitions exist\n  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n","status":"published","published":"2021-03-08T15:42:37Z","modified":"2026-02-04T03:52:39.100313Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:0771-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 3.0.4+git.1614156978.4c1dc46d:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n","status":"published","published":"2021-03-11T19:25:25Z","modified":"2026-02-04T04:15:12.919274Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:0781-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 4.3.0+20210305.9db5c9a8:\n  * Fix: bootstrap: Adjust qdevice configure/remove process to avoid race condition due to quorum lost(bsc#1181415)\n  * Dev: cibconfig: remove related code about detecting crm_diff support --no-verion\n  * Fix: ui_configure: raise error when params not exist(bsc#1180126)\n  * Dev: doc: remove doc for crm node status\n  * Dev: ui_node: remove status subcommand\n\n- Update to version 4.3.0+20210219.5d1bf034:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: analyze: Add analyze sublevel and put preflight_check in it(jsc#ECO-1658)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: hb_report: Detect if any ocfs2 partitions exist\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Fix: Replace mktemp() to mkstemp() for security\n  * Fix: Remove the duplicate --cov-report html in tox.\n  * Fix: fix some lint issues.\n  * Fix: Replace utils.msg_info to task.info\n  * Fix: Solve a circular import error of utils.py\n  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: preflight_check: task: raise error when report_path isn't a directory\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Dev: Polish the sbd feature.\n  * Dev: Replace -f with -c and run check when no parameter provide.\n  * Fix: Fix the yes option not working\n  * Fix: Remove useless import and show help when no input.\n  * Dev: Correct SBD device id inconsistenc during ASR\n  * Fix: completers: return complete start/stop resource id list correctly(bsc#1180137)\n  * Dev: Makefile.am: change makefile to integrate preflight_check\n  * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n","status":"published","published":"2021-03-12T16:43:36Z","modified":"2026-02-04T03:25:31.426303Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:0782-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 4.3.0+20210219.5d1bf034:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: analyze: Add analyze sublevel and put preflight_check in it(jsc#ECO-1658)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: hb_report: Detect if any ocfs2 partitions exist\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Fix: Replace mktemp() to mkstemp() for security\n  * Fix: Remove the duplicate --cov-report html in tox.\n  * Fix: fix some lint issues.\n  * Fix: Replace utils.msg_info to task.info\n  * Fix: Solve a circular import error of utils.py\n  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: preflight_check: task: raise error when report_path isn't a directory\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Dev: Polish the sbd feature.\n  * Dev: Replace -f with -c and run check when no parameter provide.\n  * Fix: Fix the yes option not working\n  * Fix: Remove useless import and show help when no input.\n  * Dev: Correct SBD device id inconsistenc during ASR\n  * Fix: completers: return complete start/stop resource id list correctly(bsc#1180137)\n  * Dev: Makefile.am: change makefile to integrate preflight_check\n  * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n","status":"published","published":"2021-03-12T16:43:48Z","modified":"2026-02-04T03:12:32.107686Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:0806-1","title":"Security update for crmsh","description":"This update for crmsh fixes the following issues:\n\n- Update to version 4.3.0+20210219.5d1bf034:\n  * Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n  * Dev: analyze: Add analyze sublevel and put preflight_check in it(jsc#ECO-1658)\n  * Dev: utils: change default file mod as 644 for str2file function\n  * Dev: hb_report: Detect if any ocfs2 partitions exist\n  * Dev: lock: give more specific error message when raise ClaimLockError\n  * Fix: Replace mktemp() to mkstemp() for security\n  * Fix: Remove the duplicate --cov-report html in tox.\n  * Fix: fix some lint issues.\n  * Fix: Replace utils.msg_info to task.info\n  * Fix: Solve a circular import error of utils.py\n  * Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n  * Dev: corosync: change the permission of corosync.conf to 644\n  * Fix: preflight_check: task: raise error when report_path isn't a directory\n  * Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n  * Dev: Polish the sbd feature.\n  * Dev: Replace -f with -c and run check when no parameter provide.\n  * Fix: Fix the yes option not working\n  * Fix: Remove useless import and show help when no input.\n  * Dev: Correct SBD device id inconsistenc during ASR\n  * Fix: completers: return complete start/stop resource id list correctly(bsc#1180137)\n  * Dev: Makefile.am: change makefile to integrate preflight_check\n  * Medium: integrate preflight_check into crmsh(jsc#ECO-1658)\n  * Fix: bootstrap: make sure sbd device UUID was the same between nodes(bsc#1178454)\n","status":"published","published":"2021-03-17T16:09:38Z","modified":"2026-02-04T03:07:19.719317Z","updated_at":"2026-11-02T15:53:48.690034Z"}]}}
