cve.bz

CVE-2021-3560 Red Hat Polkit Incorrect Authorization Vulnerability

7.8 highKEVExploitEPSS 22%Fix available

High (7.8) in Red Hat Polkit. In CISA KEV since 2023-05-12. EPSS 22% estimated probability of exploitation activity in the next 30 days.

On this page
It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestor to the root user. This flaw could be used by an unprivileged local attacker to, for example, create a new local administrator. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
22% (unchanged from 22% a week ago; 24% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2023-05-12, due 2023-06-02
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-754 Improper Check for Unusual or Exceptional Conditions
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3560 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3560?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3560?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3560 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
polkit_project:polkitbefore 0.119
debian:debian_linux11.0
canonical:ubuntu_linux20.04
redhat:virtualization4.0
redhat:virtualization_host4.0
redhat:openshift_container_platform4.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14policykit-10.105-31DEBIAN-CVE-2021-3560
Ubuntu20.04:LTSpolicykit-10.105-26ubuntu1.1UBUNTU-CVE-2021-3560 USN-4980-1
Ubuntu22.04:LTSpolicykit-10.105-31UBUNTU-CVE-2021-3560
Red Hatenterprise_linux:8::baseospolkit, polkit-docs, polkit-libs and 4 more0:0.115-11.el8_4.1RHSA-2021:2238
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.3-6.rhaos4.7.git0d0f863.el7RHSA-2021:2555
Red Hatopenshift:4.7::el7openshift-clients, openshift-clients-redistributable0:4.7.0-202106252127.p0.git.8b4b094.el7RHSA-2021:2555
Red Hatopenshift:4.7::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.20.3-6.rhaos4.7.git0d0f863.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8dhcp, dhcp-libs, dhcp-client and 7 more12:4.3.6-41.el8_3.1RHSA-2021:2555
Red Hatopenshift:4.7::el8openshift-clients, openshift-clients-redistributable0:4.7.0-202106252127.p0.git.8b4b094.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8openshift-kuryr, openshift-kuryr-cni, openshift-kuryr-common and 2 more0:4.7.0-202106232224.p0.git.c7654fb.el8RHSA-2021:2555
Red Hatopenshift:4.7::el8polkit, polkit-libs, polkit-debuginfo and 2 more0:0.115-11.el8_3.2RHSA-2021:2555
Red Hatrhel_eus:8.1::baseospolkit, polkit-docs, polkit-libs and 4 more0:0.115-9.el8_1.1RHSA-2021:2236
Red Hatrhel_eus:8.2::baseospolkit, polkit-docs, polkit-libs and 4 more0:0.115-11.el8_2.1RHSA-2021:2237
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.4.6-20210615.0.el8_4RHSA-2021:2522
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morepolkit0.114-3.12.1SUSE-SU-2021:1844-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 12 morepolkit0.113-5.21.1SUSE-SU-2021:1842-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3polkit0.116-3.3.1SUSE-SU-2021:1843-1
openSUSELeap 15.2polkit0.116-lp152.2.3.1openSUSE-SU-2021:0838-1
openSUSELeap 15.3polkit0.116-3.3.1openSUSE-SU-2021:1843-1
openSUSETumbleweedpolkit0.118-7.2openSUSE-SU-2024:11180-1
Rocky Linux8polkit0:0.115-11.el8_4.1RLSA-2021:2238
Alpinev3.14, v3.15, v3.16 and 8 morepolkit0.119-r0ALPINE-CVE-2021-3560

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8polkit-0:0.115-11.el8_4.1Fixed 2021-06-03RHSA-2021:2238
Red Hat Enterprise Linux 8.1 Extended Update Supportpolkit-0:0.115-9.el8_1.1Fixed 2021-06-03RHSA-2021:2236
Red Hat Enterprise Linux 8.2 Extended Update Supportpolkit-0:0.115-11.el8_2.1Fixed 2021-06-03RHSA-2021:2237
Red Hat OpenShift Container Platform 4.7cri-o-0:1.20.3-6.rhaos4.7.git0d0f863.el7Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7dhcp-12:4.3.6-41.el8_3.1Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7openshift-clients-0:4.7.0-202106252127.p0.git.8b4b094.el7Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7openshift-kuryr-0:4.7.0-202106232224.p0.git.c7654fb.el8Fixed 2021-07-06RHSA-2021:2555
Red Hat OpenShift Container Platform 4.7polkit-0:0.115-11.el8_3.2Fixed 2021-07-06RHSA-2021:2555
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8redhat-virtualization-host-0:4.4.6-20210615.0.el8_4Fixed 2021-06-22RHSA-2021:2522
Red Hat Enterprise Linux 6polkitNot affected
Red Hat Enterprise Linux 7polkitNot affected
Red Hat Enterprise Linux 9polkitNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3560.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON