CVE-2022-2735 Privilege escalation in ClusterLabs/pcs

High 7.8 Published Updated

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:8All versions0.10.12-6.el8_6.2.alma
pcs-snmp AlmaLinux:8All versions0.10.12-6.el8_6.2.alma
pcs AlmaLinux:9All versions0.11.1-10.el9_0.2
pcs-snmp AlmaLinux:9All versions0.11.1-10.el9_0.2
pcs Red Hat:enterprise_linux:8::highavailabilityAll versions0:0.10.12-6.el8_6.2
pcs-snmp Red Hat:enterprise_linux:8::highavailabilityAll versions0:0.10.12-6.el8_6.2
pcs Red Hat:enterprise_linux:8::resilientstorageAll versions0:0.10.12-6.el8_6.2
pcs-snmp Red Hat:enterprise_linux:8::resilientstorageAll versions0:0.10.12-6.el8_6.2
pcs Red Hat:enterprise_linux:9::highavailabilityAll versions0:0.11.1-10.el9_0.2
pcs-snmp Red Hat:enterprise_linux:9::highavailabilityAll versions0:0.11.1-10.el9_0.2
pcs Red Hat:enterprise_linux:9::resilientstorageAll versions0:0.11.1-10.el9_0.2
pcs-snmp Red Hat:enterprise_linux:9::resilientstorageAll versions0:0.11.1-10.el9_0.2
pcs Red Hat:rhel_eus:8.2::highavailabilityAll versions0:0.10.4-6.el8_2.3
pcs-snmp Red Hat:rhel_eus:8.2::highavailabilityAll versions0:0.10.4-6.el8_2.3
pcs Red Hat:rhel_eus:8.2::resilientstorageAll versions0:0.10.4-6.el8_2.3
pcs-snmp Red Hat:rhel_eus:8.2::resilientstorageAll versions0:0.10.4-6.el8_2.3
pcs Red Hat:rhel_eus:8.4::highavailabilityAll versions0:0.10.8-1.el8_4.2
pcs-snmp Red Hat:rhel_eus:8.4::highavailabilityAll versions0:0.10.8-1.el8_4.2
pcs Red Hat:rhel_eus:8.4::resilientstorageAll versions0:0.10.8-1.el8_4.2
pcs-snmp Red Hat:rhel_eus:8.4::resilientstorageAll versions0:0.10.8-1.el8_4.2
pcs Rocky Linux:8All versions0:0.10.12-6.el8_6.2
pcs Rocky Linux:9All versions0: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.

All Debian Debian Linux vulnerabilities

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.

Is CVE-2022-2735 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free