Recently, a security research team disclosed a privilege escalation vulnerability (CVE-2021-4034, also dubbed PwnKit) in PolKit's pkexec. Unprivileged users can gain full root privileges on a vulnerable host by exploiting this vulnerability in its default configuration. Currently, the POC/EXP of this vulnerability has been disclosed, and the risk is high.
Polkit (formerly PolicyKit) is a component for controlling system-wide privileges in Unix-like operating systems. pkexec is a part of the Polkit framework. It executes commands with elevated permissions and is an alternative to Sudo. If you are a Polkit user, check your Polkit version and implement timely security hardening.
Reference link: https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
Severity: important
(Severity: low, moderate, important, and critical)
Affected versions: all mainstream Linux versions
Secure versions: View the security bulletins of Linux vendors.
RedHat, Ubuntu: USN-5252-1, USN-5252-2; Debian, SUSE
Before fixing vulnerabilities, back up your files and conduct a thorough test.