{"veracode": [{"lastseen": "2023-08-12T02:16:24", "description": "crmsh is vulnerable to privilege escalation. The vulnerability exists because the ssh access for hacluster is not properly handled which allows an attacker to gain root privileges and perform unauthorized actions.\n", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2022-08-29T04:10:44", "type": "veracode", "title": "Privilege Escalation", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-3020"], "modified": "2023-08-09T14:49:45", "id": "VERACODE:36823", "href": "https://sca.analysiscenter.veracode.com/vulnerability-database/security/1/1/sid-36823/summary", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}], "cve": [{"lastseen": "2023-08-11T21:36:32", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2022-08-26T00:15:00", "type": "cve", "title": "CVE-2021-3020", "cwe": ["CWE-269"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-3020"], "modified": "2023-08-08T14:22:00", "cpe": ["cpe:/a:clusterlabs:hawk:2.3.0-15"], "id": "CVE-2021-3020", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3020", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:clusterlabs:hawk:2.3.0-15:*:*:*:*:*:*:*"]}], "prion": [{"lastseen": "2023-08-16T03:01:33", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2022-08-26T00:15:00", "type": "prion", "title": "CVE-2021-3020", "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.5, "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-3020"], "modified": "2023-08-08T14:22:00", "id": "PRION:CVE-2021-3020", "href": "https://kb.prio-n.com/vulnerability/CVE-2021-3020", "cvss": {"score": 6.5, "vector": "AV:N/AC:L/Au:S/C:P/I:P/A:P"}}], "debiancve": [{"lastseen": "2022-09-02T17:59:42", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2022-08-26T00:15:00", "type": "debiancve", "title": "CVE-2021-3020", "bulletinFamily": "info", "cvss2": {}, "cvelist": ["CVE-2021-3020"], "modified": "2022-08-26T00:15:00", "id": "DEBIANCVE:CVE-2021-3020", "href": "https://security-tracker.debian.org/tracker/CVE-2021-3020", "cvss": {"score": 0.0, "vector": "NONE"}}], "suse": [{"lastseen": "2022-11-08T06:10:38", "description": "An update that solves two vulnerabilities and has 7 fixes\n is now available.\n\nDescription:\n\n 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\n condition due to quorum lost(bsc#1181415)\n * Dev: cibconfig: remove related code about detecting crm_diff support\n --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\n hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n * Fix: bootstrap: setup authorized ssh access for\n hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n * Dev: analyze: Add analyze sublevel and put preflight_check in\n 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\n directory\n * Fix: bootstrap: Use class Watchdog to simplify watchdog\n 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\n 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\n nodes(bsc#1178454)\n\n This update was imported from the SUSE:SLE-15-SP2:Update update project.\n\n\nPatch Instructions:\n\n To install this openSUSE Security Update use the SUSE recommended installation methods\n like YaST online_update or \"zypper patch\".\n\n Alternatively you can run the command listed for your product:\n\n - openSUSE Leap 15.2:\n\n zypper in -t patch openSUSE-2021-410=1", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "baseScore": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-03-14T00:00:00", "type": "suse", "title": "Security update for crmsh (important)", "bulletinFamily": "unix", "cvss2": {"severity": "HIGH", "exploitabilityScore": 3.9, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 7.2, "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-35459", "CVE-2021-3020"], "modified": "2021-03-14T00:00:00", "id": "OPENSUSE-SU-2021:0410-1", "href": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BNDVFBI7G272LNZ2QQZ4MY56KX2J4C36/", "cvss": {"score": 7.2, "vector": "AV:L/AC:L/Au:N/C:C/I:C/A:C"}}], "nessus": [{"lastseen": "2023-05-18T15:26:01", "description": "This update for crmsh fixes the following issues :\n\n - Update to version 4.3.0+20210305.9db5c9a8 :\n\n - Fix: bootstrap: Adjust qdevice configure/remove process to avoid race condition due to quorum lost(bsc#1181415)\n\n - Dev: cibconfig: remove related code about detecting crm_diff support --no-verion\n\n - Fix: ui_configure: raise error when params not exist(bsc#1180126)\n\n - Dev: doc: remove doc for crm node status\n\n - Dev: ui_node: remove status subcommand\n\n - Update to version 4.3.0+20210219.5d1bf034 :\n\n - Fix: hb_report: walk through hb_report process under hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n\n - Fix: bootstrap: setup authorized ssh access for hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020, bsc#1180571)\n\n - Dev: analyze: Add analyze sublevel and put preflight_check in it(jsc#ECO-1658)\n\n - Dev: utils: change default file mod as 644 for str2file function\n\n - Dev: hb_report: Detect if any ocfs2 partitions exist\n\n - Dev: lock: give more specific error message when raise ClaimLockError\n\n - Fix: Replace mktemp() to mkstemp() for security\n\n - Fix: Remove the duplicate --cov-report html in tox.\n\n - Fix: fix some lint issues.\n\n - Fix: Replace utils.msg_info to task.info\n\n - Fix: Solve a circular import error of utils.py\n\n - Fix: hb_report: run lsof with specific ocfs2 device(bsc#1180688)\n\n - Dev: corosync: change the permission of corosync.conf to 644\n\n - Fix: preflight_check: task: raise error when report_path isn't a directory\n\n - Fix: bootstrap: Use class Watchdog to simplify watchdog config(bsc#1154927, bsc#1178869)\n\n - Dev: Polish the sbd feature.\n\n - Dev: Replace -f with -c and run check when no parameter provide.\n\n - Fix: Fix the yes option not working\n\n - Fix: Remove useless import and show help when no input.\n\n - Dev: Correct SBD device id inconsistenc during ASR\n\n - Fix: completers: return complete start/stop resource id list correctly(bsc#1180137)\n\n - Dev: Makefile.am: change makefile to integrate preflight_check\n\n - Medium: integrate preflight_check into crmsh(jsc#ECO-1658)\n\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.", "cvss3": {}, "published": "2021-03-15T00:00:00", "type": "nessus", "title": "openSUSE Security Update : crmsh (openSUSE-2021-410)", "bulletinFamily": "scanner", "cvss2": {}, "cvelist": ["CVE-2020-35459", "CVE-2021-3020"], "modified": "2023-03-23T00:00:00", "cpe": ["p-cpe:/a:novell:opensuse:crmsh", "p-cpe:/a:novell:opensuse:crmsh-scripts", "p-cpe:/a:novell:opensuse:crmsh-test", "cpe:/o:novell:opensuse:15.2"], "id": "OPENSUSE-2021-410.NASL", "href": "https://www.tenable.com/plugins/nessus/147780", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from openSUSE Security Update openSUSE-2021-410.\n#\n# The text description of this plugin is (C) SUSE LLC.\n#\n\ninclude('compat.inc');\n\nif (description)\n{\n script_id(147780);\n script_version(\"1.4\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2023/03/23\");\n\n script_cve_id(\"CVE-2020-35459\", \"CVE-2021-3020\");\n\n script_name(english:\"openSUSE Security Update : crmsh (openSUSE-2021-410)\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote openSUSE host is missing a security update.\");\n script_set_attribute(attribute:\"description\", value:\n\"This update for crmsh fixes the following issues :\n\n - Update to version 4.3.0+20210305.9db5c9a8 :\n\n - Fix: bootstrap: Adjust qdevice configure/remove process\n to avoid race condition due to quorum lost(bsc#1181415)\n\n - Dev: cibconfig: remove related code about detecting\n crm_diff support --no-verion\n\n - Fix: ui_configure: raise error when params not\n exist(bsc#1180126)\n\n - Dev: doc: remove doc for crm node status\n\n - Dev: ui_node: remove status subcommand\n\n - Update to version 4.3.0+20210219.5d1bf034 :\n\n - Fix: hb_report: walk through hb_report process under\n hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020,\n bsc#1180571)\n\n - Fix: bootstrap: setup authorized ssh access for\n hacluster(CVE-2020-35459, bsc#1179999; CVE-2021-3020,\n bsc#1180571)\n\n - Dev: analyze: Add analyze sublevel and put\n preflight_check in it(jsc#ECO-1658)\n\n - Dev: utils: change default file mod as 644 for str2file\n function\n\n - Dev: hb_report: Detect if any ocfs2 partitions exist\n\n - Dev: lock: give more specific error message when raise\n ClaimLockError\n\n - Fix: Replace mktemp() to mkstemp() for security\n\n - Fix: Remove the duplicate --cov-report html in tox.\n\n - Fix: fix some lint issues.\n\n - Fix: Replace utils.msg_info to task.info\n\n - Fix: Solve a circular import error of utils.py\n\n - Fix: hb_report: run lsof with specific ocfs2\n device(bsc#1180688)\n\n - Dev: corosync: change the permission of corosync.conf to\n 644\n\n - Fix: preflight_check: task: raise error when report_path\n isn't a directory\n\n - Fix: bootstrap: Use class Watchdog to simplify watchdog\n config(bsc#1154927, bsc#1178869)\n\n - Dev: Polish the sbd feature.\n\n - Dev: Replace -f with -c and run check when no parameter\n provide.\n\n - Fix: Fix the yes option not working\n\n - Fix: Remove useless import and show help when no input.\n\n - Dev: Correct SBD device id inconsistenc during ASR\n\n - Fix: completers: return complete start/stop resource id\n list correctly(bsc#1180137)\n\n - Dev: Makefile.am: change makefile to integrate\n preflight_check\n\n - Medium: integrate preflight_check into\n crmsh(jsc#ECO-1658)\n\n - Fix: bootstrap: make sure sbd device UUID was the same\n between nodes(bsc#1178454)\n\nThis update was imported from the SUSE:SLE-15-SP2:Update update\nproject.\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1154927\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1178454\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1178869\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1179999\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1180126\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1180137\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1180571\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1180688\");\n script_set_attribute(attribute:\"see_also\", value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1181415\");\n script_set_attribute(attribute:\"solution\", value:\n\"Update the affected crmsh packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2020-35459\");\n script_set_attribute(attribute:\"cvss3_score_source\", value:\"CVE-2021-3020\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2021/01/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2021/03/14\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2021/03/15\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:crmsh\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:crmsh-scripts\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:crmsh-test\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:opensuse:15.2\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"SuSE Local Security Checks\");\n\n script_copyright(english:\"This script is Copyright (C) 2021-2023 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/SuSE/release\", \"Host/SuSE/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/SuSE/release\");\nif (isnull(release) || release =~ \"^(SLED|SLES)\") audit(AUDIT_OS_NOT, \"openSUSE\");\nif (release !~ \"^(SUSE15\\.2)$\") audit(AUDIT_OS_RELEASE_NOT, \"openSUSE\", \"15.2\", release);\nif (!get_kb_item(\"Host/SuSE/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\n\nflag = 0;\n\nif ( rpm_check(release:\"SUSE15.2\", reference:\"crmsh-4.3.0+20210305.9db5c9a8-lp152.4.47.1\") ) flag++;\nif ( rpm_check(release:\"SUSE15.2\", reference:\"crmsh-scripts-4.3.0+20210305.9db5c9a8-lp152.4.47.1\") ) flag++;\nif ( rpm_check(release:\"SUSE15.2\", reference:\"crmsh-test-4.3.0+20210305.9db5c9a8-lp152.4.47.1\") ) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"crmsh / crmsh-scripts / crmsh-test\");\n}\n", "cvss": {"score": 0.0, "vector": "NONE"}}]}