RHSA-2022:0442HighCVSS 8.8

Red Hat Security Advisory: log4j security update

Published
February 7, 2022
Last Modified
August 4, 2026

🔗 CVE IDs covered (3)

📋 Description

CVE-2022-23302 — log4j: Remote code execution in Log4j 1.x when application is configured to use JMSSink CVE-2022-23305 — log4j: SQL injection in Log4j 1.x when application is configured to use JDBCAppender CVE-2022-23307 — log4j: Unsafe deserialization flaw in Chainsaw log viewer

🎯 Affected products87

  • Red Hat Enterprise Linux Client (v. 7)
  • Red Hat Enterprise Linux Client Optional (v. 7)
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7)
  • Red Hat Enterprise Linux Server (v. 6 ELS)
  • Red Hat Enterprise Linux Server (v. 7)
  • Red Hat Enterprise Linux Server AUS (v. 7.3)
  • Red Hat Enterprise Linux Server AUS (v. 7.4)
  • Red Hat Enterprise Linux Server AUS (v. 7.6)
  • Red Hat Enterprise Linux Server AUS (v. 7.7)
  • Red Hat Enterprise Linux Server E4S (v. 7.6)
  • Red Hat Enterprise Linux Server E4S (v. 7.7)
  • Red Hat Enterprise Linux Server Optional (v. 6 ELS)
  • Red Hat Enterprise Linux Server Optional (v. 7)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.3)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.4)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.6)
  • Red Hat Enterprise Linux Server Optional AUS (v. 7.7)
  • Red Hat Enterprise Linux Server Optional E4S (v. 7.6)
  • Red Hat Enterprise Linux Server Optional E4S (v. 7.7)
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.6)
  • Red Hat Enterprise Linux Server Optional TUS (v. 7.7)
  • Red Hat Enterprise Linux Server TUS (v. 7.6)
  • Red Hat Enterprise Linux Server TUS (v. 7.7)
  • Red Hat Enterprise Linux Workstation (v. 7)
  • Red Hat Enterprise Linux Workstation Optional (v. 7)
  • log4j-0:1.2.14-6.6.el6_10.i686 as a component of Red Hat Enterprise Linux Server (v. 6 ELS)
  • log4j-0:1.2.14-6.6.el6_10.s390x as a component of Red Hat Enterprise Linux Server (v. 6 ELS)
  • log4j-0:1.2.14-6.6.el6_10.src as a component of Red Hat Enterprise Linux Server (v. 6 ELS)
  • log4j-0:1.2.14-6.6.el6_10.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6 ELS)
  • log4j-0:1.2.17-17.el7_3.noarch as a component of Red Hat Enterprise Linux Server AUS (v. 7.3)
  • +57 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: These are the possible mitigations for this flaw for releases version 1.x: - Comment out or remove JMSSink in the Log4j configuration if it is used - Remove the JMSSink class from the server's jar files. For example: ``` zip -q -d log4j-*.jar org/apache/log4j/net/JMSSink.class ``` - Restrict access for the OS user on the platform running the application to prevent modifying the Log4j configuration by the attacker. Workaround: These are the possible mitigations for this flaw for releases version 1.x: - Comment out or remove JDBCAppender in the Log4j configuration if it is used - Remove the JDBCAppender class from the server's jar files. For example: ``` zip -q -d log4j-*.jar org/apache/log4j/jdbc/JDBCAppender.class ``` Workaround: These are the mitigations available for this flaw for log4j 1.x: - Avoid using Chainsaw to view logs, and instead use some other utility, especially if there is a log view available within the product itself. - Remove the Chainsaw classes from the log4j jar files. For example: ``` zip -q -d log4j-*.jar org/apache/log4j/chainsaw/* ``` (log4j jars may be nested in zip archives within product)

🔗 References (6)