CVE-2022-2735 Privilege escalation in ClusterLabs/pcs
Incorrect Unix socket permissions in PCS allow local attackers to escalate privileges to hacluster, gaining full control over the managed cluster.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-2735?
CVE-2022-2735 is a high-severity vulnerability in Debian Debian Linux, published on 6 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in the PCS project. This issue occurs due to incorrect permissions on a Unix socket used for internal communication between PCS daemons. A privilege escalation could happen by obtaining an authentication token for a hacluster user. With the "hacluster" token, this flaw allows an attacker to have complete control over the cluster managed by PCS.
Weakness: CWE-276
Which versions are affected by CVE-2022-2735?
It affects 2 products.
Linux distribution packages (22)
pcs AlmaLinux:8 | All versions | 0.10.12-6.el8_6.2.alma |
pcs-snmp AlmaLinux:8 | All versions | 0.10.12-6.el8_6.2.alma |
pcs AlmaLinux:9 | All versions | 0.11.1-10.el9_0.2 |
pcs-snmp AlmaLinux:9 | All versions | 0.11.1-10.el9_0.2 |
pcs Red Hat:enterprise_linux:8::highavailability | All versions | 0:0.10.12-6.el8_6.2 |
pcs-snmp Red Hat:enterprise_linux:8::highavailability | All versions | 0:0.10.12-6.el8_6.2 |
pcs Red Hat:enterprise_linux:8::resilientstorage | All versions | 0:0.10.12-6.el8_6.2 |
pcs-snmp Red Hat:enterprise_linux:8::resilientstorage | All versions | 0:0.10.12-6.el8_6.2 |
pcs Red Hat:enterprise_linux:9::highavailability | All versions | 0:0.11.1-10.el9_0.2 |
pcs-snmp Red Hat:enterprise_linux:9::highavailability | All versions | 0:0.11.1-10.el9_0.2 |
pcs Red Hat:enterprise_linux:9::resilientstorage | All versions | 0:0.11.1-10.el9_0.2 |
pcs-snmp Red Hat:enterprise_linux:9::resilientstorage | All versions | 0:0.11.1-10.el9_0.2 |
pcs Red Hat:rhel_eus:8.2::highavailability | All versions | 0:0.10.4-6.el8_2.3 |
pcs-snmp Red Hat:rhel_eus:8.2::highavailability | All versions | 0:0.10.4-6.el8_2.3 |
pcs Red Hat:rhel_eus:8.2::resilientstorage | All versions | 0:0.10.4-6.el8_2.3 |
pcs-snmp Red Hat:rhel_eus:8.2::resilientstorage | All versions | 0:0.10.4-6.el8_2.3 |
pcs Red Hat:rhel_eus:8.4::highavailability | All versions | 0:0.10.8-1.el8_4.2 |
pcs-snmp Red Hat:rhel_eus:8.4::highavailability | All versions | 0:0.10.8-1.el8_4.2 |
pcs Red Hat:rhel_eus:8.4::resilientstorage | All versions | 0:0.10.8-1.el8_4.2 |
pcs-snmp Red Hat:rhel_eus:8.4::resilientstorage | All versions | 0:0.10.8-1.el8_4.2 |
pcs Rocky Linux:8 | All versions | 0:0.10.12-6.el8_6.2 |
pcs Rocky Linux:9 | All versions | 0:0.11.1-10.el9_0.2 |
Products include Clusterlabs Pcs, Debian Debian Linux.
How do I fix CVE-2022-2735?
Apply the vendor's patch.
Is CVE-2022-2735 being exploited?
There is no known exploitation of CVE-2022-2735 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
- CVE-2023-2319 It was discovered that an update for PCS package in RHBA-2023:2151 erratum released as part of Red Hat Enterprise Linux 9.2 failed to includ
- CVE-2022-1049 Auth bypass in clusterlabs/pcs
- CVE-2016-0720 Cross-site request forgery in n/a
- CVE-2016-0721 Other in n/a
- CVE-2017-2661 Cross-site scripting in pcs
Sources
Also known as ALSA-2022:6313, ALSA-2022:6314, DEBIAN-CVE-2022-2735, GHSA-7xr9-rmm4-cq6v, OESA-2022-1961, RHSA-2022:6312 and 6 more.