{"id":"USN-9274-1","summary":"apache-log4j2 vulnerabilities","details":"It was discovered that Apache Log4j 2 was vulnerable to a remote code\nexecution attack when configured to use a JDBC Appender with a JNDI\nLDAP data source URI. A remote attacker could possibly use this issue to\ncause a crash, leading to a denial of service. This issue only affected\nUbuntu 16.04 LTS. (CVE-2021-44832)\n\nHideki Okamoto and Guy Lederfein discovered that Apache Log4j 2 did not\nprotect against infinite recursion in lookup evaluation. A remote attacker\ncould possibly use this issue to cause Apache Log4j 2 to crash, leading to\na denial of service. This issue only affected Ubuntu 16.04 LTS.\n(CVE-2021-45105)\n\nIt was discovered that the Socket Appender in Apache Log4j 2 did not verify\nthe hostname of the server certificate when using TLS, even when hostname\nverification was enabled. A remote attacker could possibly use this issue\nto perform a machine-in-the-middle attack and intercept or redirect log\ntraffic. (CVE-2025-68161)","modified":"2026-12-02T02:29:12.530997211Z","published":"2026-12-01T00:35:08Z","related":["UBUNTU-CVE-2021-44832","UBUNTU-CVE-2021-45105","UBUNTU-CVE-2025-68161"],"upstream":["CVE-2021-44832","CVE-2021-45105","CVE-2025-68161","UBUNTU-CVE-2021-44832","UBUNTU-CVE-2021-45105","UBUNTU-CVE-2025-68161"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9274-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44832"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-45105"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-68161"}],"affected":[{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4-2ubuntu0.1~esm2"}]}],"versions":["2.2-1","2.4-1","2.4-2","2.4-2ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.4-2ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2021-44832","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"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","source":"SELF"}]},{"id":"CVE-2021-45105","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2025-68161","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]}}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12.4-0ubuntu0.1+esm1"}]}],"versions":["2.8.2-1","2.8.2-2","2.10.0-1","2.10.0-2","2.10.0-2ubuntu0.1","2.12.4-0ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.12.4-0ubuntu0.1+esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2025-68161","severity":[{"score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N","source":"CNA","type":"CVSS_V4"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.1-0.20.04.1ubuntu0.1~esm1"}]}],"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","2.17.1-0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.17.1-0.20.04.1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-68161","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.1-1ubuntu0.1~esm1"}]}],"versions":["2.13.3-1","2.15.0-1","2.16.0-1","2.17.0-1","2.17.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.17.1-1ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-68161","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N","source":"CNA"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json"}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-2ubuntu0.24.04.1~esm1"}]}],"versions":["2.19.0-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.19.0-2ubuntu0.24.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}],"id":"CVE-2025-68161"}]}}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-2ubuntu0.26.10.1"}]}],"versions":["2.19.0-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.19.0-2ubuntu0.26.10.1","binary_name":"liblog4j2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json","cves_map":{"ecosystem":"Ubuntu:26.10","cves":[{"id":"CVE-2025-68161","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]}}},{"package":{"name":"apache-log4j2","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/apache-log4j2?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19.0-2ubuntu0.26.04.1~esm1"}]}],"versions":["2.19.0-2","2.19.0-2build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4j2-java","binary_version":"2.19.0-2ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9274-1.json","cves_map":{"cves":[{"id":"CVE-2025-68161","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:26.04:LTS"}}}],"schema_version":"1.9.2"}