CVE-2021-4034
Exploited in the wild. In CISA KEV since 2022‑06‑27. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Update your systems to the latest security updates from your Linux vendor—especially the polkit package that includes pkexec. 2) Check whether any of the affected distributions/editions you run are present (Astra Linux, Debian, Ubuntu, Fedora, CentOS, РЕД ОС, polkit community packages, and the named “ФССП” OS). 3) If you manage these machines, ask your IT/admin team to confirm the patch is applied and that no known-vulnerable pkexec remains installed.
What it is
From the CVE record
A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.
In plain language
Written by AI from the recordCVE-2021-4034 is a serious local security flaw in polkit’s pkexec tool that can let an attacker take higher privileges on Linux systems, and because it’s already known to be exploited and public exploits exist, most small businesses running the listed Linux distributions should act urgently.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2022-06-27.
US federal agencies must remediate by 2022-07-18.
Known use in ransomware campaigns.
Apply updates per vendor instructions.
- Public exploits
4 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
94% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 120 days before any public exploit.
- Patch availableworkaround available, record updated
- OpenVAS check added
- EPSS band changehigh → critical
- Public exploit / PoCsource: other
- Patch availableworkaround available, record updated
- Added to CISA KEV
Affected products
- enterprise linux server update services for sap solutionsOperating Systems / linux-distro
- enterprise linux workstationOperating Systems / linux-distro
- enterprise linux for ibm z systemsOperating Systems / linux-distro
- enterprise linux for ibm z systems eusOperating Systems / linux-distro
- enterprise linux for power big endianOperating Systems / linux-distro
- enterprise linux for power little endianOperating Systems / linux-distro
- enterprise linux for power little endian eusOperating Systems / linux-distro
- enterprise linux for scientific computingOperating Systems / linux-distro
- enterprise storageOperating Systems / linux-distro
- linux enterprise high performance computingOperating Systems / linux-distro
- manager proxyNetworking Infrastructure / load-balancer-proxy
- manager serverOperating Systems / linux-distro
- linux enterprise desktopOperating Systems / linux-distro
- linux enterprise serverOperating Systems / linux-distro
- linux enterprise workstation extensionOperating Systems / linux-distro
And 22 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- CollectionT1005Data from Local Systemmedium confidence
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
- packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html
- access.redhat.com/security/vulnerabilities/RHSB-2022-001
And 48 more references. See all after sign-in
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Redhat, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI