Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI: CVE-2022-33915: Security patch for log4j-cve-2021-44228-hotpatch (ALAS-2022-1601)

Back to Search

Amazon Linux AMI: CVE-2022-33915: Security patch for log4j-cve-2021-44228-hotpatch (ALAS-2022-1601)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
06/13/2022
Created
08/29/2022
Added
07/21/2022
Modified
07/21/2022

Description

Versions of the Amazon AWS Apache Log4j hotpatch package before log4j-cve-2021-44228-hotpatch-1.3.5 are affected by a race condition that could lead to a local privilege escalation. This Hotpatch package is not a replacement for updating to a log4j version that mitigates CVE-2021-44228 or CVE-2021-45046; it provides a temporary mitigation to CVE-2021-44228 by hotpatching the local Java virtual machines. To do so, it iterates through all running Java processes, performs several checks, and executes the Java virtual machine with the same permissions and capabilities as the running process to load the hotpatch. A local user could cause the hotpatch script to execute a binary with elevated privileges by running a custom java process that performs exec() of an SUID binary after the hotpatch has observed the process path and before it has observed its effective user ID.

Solution(s)

  • amazon-linux-upgrade-log4j-cve-2021-44228-hotpatch

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;