REDHAT-BUG-2041949: Medium severity Apache Log4j vulnerability

Published Jan 18, 2022
·
Updated

JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the configuration references an LDAP service the attacker has access to. The attacker can provide a TopicConnectionFactoryBindingName configuration causing JMSSink to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-4104.

Note this issue only affects Log4j 1.x when specifically configured to use JMSSink, which is not the default.

References:

https://www.openwall.com/lists/oss-security/2022/01/18/3

Affected Software

1 affected component
Apache Log4j<=1.x

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Remove/disable any Log4j 1.x configuration that specifically uses JMSSink (it is not enabled by default). This prevents the deserialization of untrusted data and the JMSSink JNDI requests that can lead to remote code execution.

    Log4j 1.x JMSSink usage (JMSSink configured appender) / JMSSink references = Disable or remove JMSSink configuration so Log4j is not configured to use JMSSink
  2. Compensating control

    Ensure an attacker cannot modify Log4j configuration and cannot supply configuration values such as TopicConnectionFactoryBindingName (i.e., restrict write access to Log4j configuration files and configuration management systems).

  3. Compensating control

    If Log4j 1.x JMSSink is used, ensure the LDAP/JNDI endpoints it can reach are not attacker-accessible (restrict network access/identity/ACLs so the attacker cannot control the LDAP service referenced by the JMSSink configuration).

Event History

Jan 18, 2022
Data Sourced
via Red Hat·03:39 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2041949?

The severity of REDHAT-BUG-2041949 is high due to the potential for remote code execution through deserialization vulnerabilities.

2

How do I fix REDHAT-BUG-2041949?

To fix REDHAT-BUG-2041949, update to a supported version of Log4j that is not affected by this vulnerability.

3

What versions of Log4j are affected by REDHAT-BUG-2041949?

REDHAT-BUG-2041949 affects all versions of Log4j 1.x.

4

What should I do if I have write access to the Log4j configuration regarding REDHAT-BUG-2041949?

If you have write access to the Log4j configuration, ensure it does not reference any untrusted LDAP services to mitigate the risk of exploitation associated with REDHAT-BUG-2041949.

5

Are there any known exploits for REDHAT-BUG-2041949?

Yes, there are known exploitation techniques that leverage the deserialization vulnerability in REDHAT-BUG-2041949.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203