Permissions, Privileges, and Access Controls in polkit - CVE-2021-3560

 

Permissions, Privileges, and Access Controls in polkit - CVE-2021-3560

Published: June 7, 2021 / Updated: May 12, 2023


Vulnerability identifier: #VU53837
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3560
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to application does not properly impose security restrictions in the "polkit_system_bus_name_get_creds_sync" function, which leads to security restrictions bypass and privilege escalation.


Affected software

polkit
Arch Linux
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE MicroOS
SUSE Enterprise Storage
Anolis OS
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Workstation Extension
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
openEuler
Ubuntu
Fedora
cri-o (Red Hat package)
redhat-release-virtualization-host (Red Hat package)
redhat-virtualization-host (Red Hat package)
openshift-kuryr (Red Hat package)
openshift-clients (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
libpolkit-agent-1-0 (Ubuntu package)
libpolkit-gobject-1-0 (Ubuntu package)
policykit-1 (Ubuntu package)
polkit-devel-debuginfo
polkit-devel
libpolkit0
libpolkit0-debuginfo
polkit
polkit-debuginfo
polkit-debugsource
typelib-1_0-Polkit-1_0
libpolkit0-32bit
libpolkit0-debuginfo-32bit
polkit (Red Hat package)
polkit-libs
polkit-docs
polkit-help
Red Hat Virtualization Host
Red Hat Virtualization
OpenShift Virtualization
Red Hat OpenShift Container Platform
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)

How to mitigate CVE-2021-3560

Install updates from vendor's website.

polkit - update to 0.119
cri-o (Red Hat package) - addressed in versions 1.20.3-6.rhaos4.7.git0d0f863.el7, 1.20.3-6.rhaos4.7.git0d0f863.el8
redhat-release-virtualization-host (Red Hat package) - update to 4.4.6-2.el8ev
redhat-virtualization-host (Red Hat package) - update to 4.4.6-20210615.0.el8_4
Red Hat OpenShift Container Platform - update to 4.7.19
openshift-kuryr (Red Hat package) - update to 4.7.0-202106232224.p0.git.c7654fb.el8
openshift-clients (Red Hat package) - addressed in versions 4.7.0-202106252127.p0.git.8b4b094.el7, 4.7.0-202106252127.p0.git.8b4b094.el8
libpolkit-agent-1-0 (Ubuntu package) - addressed in versions 0.105-26ubuntu1.1, 0.105-29ubuntu0.1, 0.105-30ubuntu0.1
libpolkit-gobject-1-0 (Ubuntu package) - addressed in versions 0.105-26ubuntu1.1, 0.105-29ubuntu0.1, 0.105-30ubuntu0.1
policykit-1 (Ubuntu package) - addressed in versions 0.105-26ubuntu1.1, 0.105-29ubuntu0.1, 0.105-30ubuntu0.1
polkit-devel-debuginfo - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
polkit-devel - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
libpolkit0 - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
libpolkit0-debuginfo - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
polkit - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
polkit-debuginfo - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
polkit-debugsource - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
typelib-1_0-Polkit-1_0 - addressed in versions 0.113-5.21.1, 0.114-3.12.1, 0.116-3.3.1
libpolkit0-32bit - update to 0.113-5.21.1
libpolkit0-debuginfo-32bit - update to 0.113-5.21.1
polkit (Red Hat package) - addressed in versions 0.115-9.el8_1.1, 0.115-11.el8_2.1, 0.115-11.el8_4.1
polkit - update to 0.115-11
polkit-devel - update to 0.115-11
polkit-libs - update to 0.115-11
polkit-docs - update to 0.115-11
polkit-help - update to 0.116-7
polkit-libs - update to 0.116-7
polkit-debugsource - update to 0.116-7
polkit-devel - update to 0.116-7
polkit-debuginfo - update to 0.116-7
polkit - update to 0.116-7
polkit - addressed in versions 0.117-2.fc33.1, 0.117-3.fc34.1
OpenShift Virtualization - addressed in versions 2.6.6, 4.8.0
Dell EMC Unity Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity XT Operating Environment (OE) - update to 5.1.2.0.5.007
Dell EMC Unity VSA Operating Environment (OE) - update to 5.1.2.0.5.007

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins