RHSA-2021:5269MediumCVSS 7.5

Red Hat Security Advisory: rh-maven36-log4j12 security update

Published
December 22, 2021
Last Modified
September 22, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2021-4104 — log4j: Remote code execution in Log4j 1.x when application is configured to use JMSAppender

🎯 Affected products8

  • Red Hat Software Collections for RHEL Workstation(v. 7)
  • Red Hat Software Collections for RHEL(v. 7)
  • rh-maven36-log4j12-0:1.2.17-23.3.el7.noarch as a component of Red Hat Software Collections for RHEL Workstation(v. 7)
  • rh-maven36-log4j12-0:1.2.17-23.3.el7.noarch as a component of Red Hat Software Collections for RHEL(v. 7)
  • rh-maven36-log4j12-0:1.2.17-23.3.el7.src as a component of Red Hat Software Collections for RHEL Workstation(v. 7)
  • rh-maven36-log4j12-0:1.2.17-23.3.el7.src as a component of Red Hat Software Collections for RHEL(v. 7)
  • rh-maven36-log4j12-javadoc-0:1.2.17-23.3.el7.noarch as a component of Red Hat Software Collections for RHEL Workstation(v. 7)
  • rh-maven36-log4j12-javadoc-0:1.2.17-23.3.el7.noarch as a component of Red Hat Software Collections for RHEL(v. 7)

✅ 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 JMSAppender in the Log4j configuration if it is used - Remove the JMSAppender class from the classpath. For example: ``` zip -q -d log4j-*.jar org/apache/log4j/net/JMSAppender.class ``` - Restrict access for the OS user on the platform running the application to prevent modifying the Log4j configuration by the attacker.

🔗 References (5)