{"id":"UBUNTU-CVE-2021-44832","details":"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 of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.","modified":"2026-06-01T07:15:11.855206088Z","published":"2021-12-28T20:15:00Z","related":["USN-5222-1"],"upstream":["CVE-2021-44832"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44832"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/LOG4J2-3293"},{"type":"REPORT","url":"https://github.com/apache/logging-log4j2/commit/05db5f9527254632b59aed2a1d78a32c5ab74f16"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5222-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-44832"}],"affected":[{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-1","2.4-1","2.4-2","2.4-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4-2ubuntu0.1~esm1","binary_name":"liblog4j2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12.4-0ubuntu0.1"}]}],"versions":["2.8.2-1","2.8.2-2","2.10.0-1","2.10.0-2","2.10.0-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.12.4-0ubuntu0.1","binary_name":"liblog4j2-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.1-0.20.04.1"}]}],"versions":["2.11.1-2","2.11.2-1","2.15.0-0.20.04.1","2.16.0-0.20.04.1","2.17.0-0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.17.1-0.20.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.19.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.19.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.19.0-2","2.19.0-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.19.0-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44832.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}