CVE-2022-1049 Auth bypass in clusterlabs/pcs

High 8.8 Published Updated

The pcs daemon allows login for expired accounts or passwords via PAM, bypassing access restrictions for unprivileged users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-1049?

CVE-2022-1049 is a high-severity authentication bypass vulnerability in Debian Debian Linux, published on 25 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in the Pacemaker configuration tool (pcs). The pcs daemon was allowing expired accounts, and accounts with expired passwords to login when using PAM authentication. Therefore, unprivileged expired accounts that have been denied access could still login.

Weakness: CWE-287

Which versions are affected by CVE-2022-1049?

It affects 2 products.

Linux distribution packages (14)
pcs AlmaLinux:8All versions0.10.14-5.el8.alma
pcs-snmp AlmaLinux:8All versions0.10.14-5.el8.alma
pcs AlmaLinux:9All versions0.11.3-4.el9
pcs-snmp AlmaLinux:9All versions0.11.3-4.el9
pcs Red Hat:enterprise_linux:8::highavailabilityAll versions0:0.10.14-5.el8
pcs-snmp Red Hat:enterprise_linux:8::highavailabilityAll versions0:0.10.14-5.el8
pcs Red Hat:enterprise_linux:8::resilientstorageAll versions0:0.10.14-5.el8
pcs-snmp Red Hat:enterprise_linux:8::resilientstorageAll versions0:0.10.14-5.el8
pcs Red Hat:enterprise_linux:9::highavailabilityAll versions0:0.11.3-4.el9
pcs-snmp Red Hat:enterprise_linux:9::highavailabilityAll versions0:0.11.3-4.el9
pcs Red Hat:enterprise_linux:9::resilientstorageAll versions0:0.11.3-4.el9
pcs-snmp Red Hat:enterprise_linux:9::resilientstorageAll versions0:0.11.3-4.el9
pcs Rocky Linux:8All versions0:0.10.14-5.el8
pcs Rocky Linux:9All versions0:0.11.3-4.el9_1.1

Products include Clusterlabs Pcs, Debian Debian Linux.

How do I fix CVE-2022-1049?

Apply the vendor's patch.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-1049 being exploited?

There is no known exploitation of CVE-2022-1049 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2022:7447, ALSA-2022:7935, DEBIAN-CVE-2022-1049, DLA-3108-1, GHSA-hhh9-rwf2-2pp5, OESA-2022-1886 and 5 more.

Is CVE-2022-1049 in your software?

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

Check your SBOMs for free