Amazon Linux Security Advisory
ALAS2-2022-1739
Amazon Linux 2 2017.12 - ALAS2-2022-1739: medium priority package update for log4j
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-4104: A flaw was found in the Java logging library Apache Log4j in version 1.x . This allows a remote attacker to execute code on the server if the deployed application is configured to use JMSAppender. This flaw has been filed for Log4j 1.x, the corresponding flaw information for Log4j 2.x is available at: https://access.redhat.com/security/cve/CVE-2021-44228
CVE-2019-17571: A flaw was discovered in Log4j, where a vulnerable SocketServer class may lead to the deserialization of untrusted data. This flaw allows an attacker to remotely execute arbitrary code when combined with a deserialization gadget.
CVE-2017-5645: It was found that when using remote logging with log4j socket server the log4j server would deserialize any log event received via TCP or UDP. An attacker could use this flaw to send a specially crafted log event that, during deserialization, would execute arbitrary code in the context of the logger application.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | log4j | All versions before 1.2.17-17.amzn2 (fixed in 1.2.17-17.amzn2) |
| Amazon Linux:2 | log4j-javadoc | All versions before 1.2.17-17.amzn2 (fixed in 1.2.17-17.amzn2) |
| Amazon Linux:2 | log4j-manual | All versions before 1.2.17-17.amzn2 (fixed in 1.2.17-17.amzn2) |