Amazon Linux Security Advisory
ALAS2-2022-1750
Amazon Linux 2 2017.12 - ALAS2-2022-1750: important priority package update for log4j
Details
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-23307: A flaw was found in the log4j 1.x chainsaw component, where the contents of certain log entries are deserialized and possibly permit code execution. This flaw allows an attacker to send a malicious request with serialized data to the server to be deserialized when the chainsaw component is run.
CVE-2022-23305: A flaw was found in the Java logging library Apache Log4j in version 1.x. JDBCAppender in Log4j 1.x is vulnerable to SQL injection in untrusted data. This allows a remote attacker to run SQL statements in the database if the deployed application is configured to use JDBCAppender with certain interpolation tokens.
CVE-2022-23302: A flaw was found in the Java logging library Apache Log4j in version 1.x. JMSSink in Log4j 1.x is vulnerable to deserialization of untrusted data. This allows a remote attacker to execute code on the server if JMSSink is deployed and has been configured to perform JNDI requests.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | log4j | All versions before 1.2.17-18.amzn2 (fixed in 1.2.17-18.amzn2) |
| Amazon Linux:2 | log4j-javadoc | All versions before 1.2.17-18.amzn2 (fixed in 1.2.17-18.amzn2) |
| Amazon Linux:2 | log4j-manual | All versions before 1.2.17-18.amzn2 (fixed in 1.2.17-18.amzn2) |