USN-9274-1: Apache Log4j 2 vulnerabilities

Published Dec 1, 2026
·
Updated

It was discovered that Apache Log4j 2 was vulnerable to a remote code execution attack when configured to use a JDBC Appender with a JNDI LDAP data source URI. A remote attacker could possibly use this issue to cause a crash, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2021-44832)

Hideki Okamoto and Guy Lederfein discovered that Apache Log4j 2 did not protect against infinite recursion in lookup evaluation. A remote attacker could possibly use this issue to cause Apache Log4j 2 to crash, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2021-45105)

It was discovered that the Socket Appender in Apache Log4j 2 did not verify the hostname of the server certificate when using TLS, even when hostname verification was enabled. A remote attacker could possibly use this issue to perform a machine-in-the-middle attack and intercept or redirect log traffic. (CVE-2025-68161)

Affected Software

21 affected componentsFixes available
All of the following
ubuntu/liblog4j2-java<2.19.0-2ubuntu0.26.10.1
2.19.0-2ubuntu0.26.10.1
Ubuntu Ubuntu=26.10
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=26.04
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/liblog4j2-java<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
ubuntu/apache-log4j2<2.4-2ubuntu0.1~esm2
2.4-2ubuntu0.1~esm2
ubuntu/apache-log4j2<2.12.4-0ubuntu0.1+esm1
2.12.4-0ubuntu0.1+esm1
ubuntu/apache-log4j2<2.17.1-0.20.04.1ubuntu0.1~esm1
2.17.1-0.20.04.1ubuntu0.1~esm1
ubuntu/apache-log4j2<2.17.1-1ubuntu0.1~esm1
2.17.1-1ubuntu0.1~esm1
ubuntu/apache-log4j2<2.19.0-2ubuntu0.24.04.1~esm1
2.19.0-2ubuntu0.24.04.1~esm1
ubuntu/apache-log4j2<2.19.0-2ubuntu0.26.10.1
2.19.0-2ubuntu0.26.10.1
ubuntu/apache-log4j2<2.19.0-2ubuntu0.26.04.1~esm1
2.19.0-2ubuntu0.26.04.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/liblog4j2-java to a version that resolves this vulnerability.

    Fixed in 2.19.0-2ubuntu0.26.10.1
  2. Upgrade

    Upgrade ubuntu/liblog4j2-java to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.4-2ubuntu0.1~esm2
  4. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.12.4-0ubuntu0.1+esm1
  5. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.17.1-0.20.04.1ubuntu0.1~esm1
  6. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.17.1-1ubuntu0.1~esm1
  7. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.19.0-2ubuntu0.24.04.1~esm1
  8. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.19.0-2ubuntu0.26.10.1
  9. Upgrade

    Upgrade ubuntu/apache-log4j2 to a version that resolves this vulnerability.

    Fixed in 2.19.0-2ubuntu0.26.04.1~esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·12:35 AM
Data Sourced
via OSV·12:35 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which systems are affected by the denial-of-service issues?

The JDBC Appender/JNDI LDAP issue (CVE-2021-44832) and the infinite lookup recursion issue (CVE-2021-45105) only affected Ubuntu 16.04 LTS.

2

What configuration is required for the JDBC Appender issue to be exploitable?

CVE-2021-44832 requires Apache Log4j 2 to be configured with a JDBC Appender that uses a JNDI LDAP data source URI. The described impact is a crash resulting in denial of service.

3

What traffic is at risk from the Socket Appender TLS issue?

CVE-2025-68161 affects Socket Appender connections using TLS when hostname verification is enabled but not actually enforced. A machine-in-the-middle attacker could intercept or redirect the log traffic.

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