Ubuntu Security Notice
USN-5222-1
apache-log4j2 vulnerabilities
Details
It was discovered that Apache Log4j 2 was vulnerable to remote code execution (RCE) 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. (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 18.04 LTS. (CVE-2021-45105)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | apache-log4j2 | All versions before 2.12.4-0ubuntu0.1 (fixed in 2.12.4-0ubuntu0.1) |
| Ubuntu:20.04:LTS | apache-log4j2 | All versions before 2.17.1-0.20.04.1 (fixed in 2.17.1-0.20.04.1) |