Actively exploited · Published Feb 16, 2022 · Assigned by redhat
CVE-2021-3560
High 7.8 Exploited
In plain English
A high-severity incorrect authorization in polkit. Attackers are actively exploiting it in the wild (listed by CISA on May 12, 2023). The chance it is exploited in the next 30 days is estimated at 22.2% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Jun 2, 2023.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | polkit | 0.119-r0 | ALPINE-CVE-2021-3560 |
| Alpine:v3.21 | polkit | 0.119-r0 | ALPINE-CVE-2021-3560 |
| Alpine:v3.22 | polkit | 0.119-r0 | ALPINE-CVE-2021-3560 |
| Alpine:v3.23 | polkit | 0.119-r0 | ALPINE-CVE-2021-3560 |
| Alpine:v3.24 | polkit | 0.119-r0 | ALPINE-CVE-2021-3560 |
| Debian:12 | policykit-1 | 0.105-31 | DEBIAN-CVE-2021-3560 |
| Debian:13 | policykit-1 | 0.105-31 | DEBIAN-CVE-2021-3560 |
| Debian:14 | policykit-1 | 0.105-31 | DEBIAN-CVE-2021-3560 |
| Rocky Linux:8 | polkit | 0:0.115-11.el8_4.1 | RLSA-2021:2238 |
| Ubuntu:22.04:LTS | policykit-1 | 0.105-31 | UBUNTU-CVE-2021-3560 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1961710
- https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/
- http://packetstormsecurity.com/files/172836/polkit-Authentication-Bypass.html
- http://packetstormsecurity.com/files/172846/Facebook-Fizz-Denial-Of-Service.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3560 government-resource