Summary
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)
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 26.10 | apache-log4j2 | 2.19.0-2ubuntu0.26.10.1 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | apache-log4j2 | 2.4-2ubuntu0.1~esm2 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | apache-log4j2 | 2.12.4-0ubuntu0.1+esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | apache-log4j2 | 2.17.1-0.20.04.1ubuntu0.1~esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | apache-log4j2 | 2.17.1-1ubuntu0.1~esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | apache-log4j2 | 2.19.0-2ubuntu0.24.04.1~esm1 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | apache-log4j2 | 2.19.0-2ubuntu0.26.04.1~esm1 |
Vulnerabilities 3
-
Medium 6.6
Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration
Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control o…
-
Medium 6.3
Apache Log4j Core: Missing TLS hostname verification in Socket appender
The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-att…
-
Medium 5.9
Apache Log4j2 does not always protect from infinite recursion in lookup evaluation
Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a craf…