{"id":"UBUNTU-CVE-2018-1285","details":"Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files. This allows for XXE-based attacks in applications that accept attacker-controlled log4net configuration files.","modified":"2026-02-04T02:35:50.245032Z","published":"2020-05-11T17:15:00Z","related":["USN-4699-1"],"upstream":["CVE-2018-1285"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1285"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/LOG4NET-575"},{"type":"REPORT","url":"https://github.com/apache/logging-log4net/commit/d0b4b0157d4af36b23c24a23739c47925c3bd8d7"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/reab1c277c95310bad1038255e0757857b2fbe291411b4fa84552028a%40%3Cdev.logging.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4699-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1285"}],"affected":[{"package":{"name":"log4net","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/log4net@1.2.10+dfsg-7ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.10+dfsg-7ubuntu0.16.04.1"}]}],"versions":["1.2.10+dfsg-6","1.2.10+dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4net-cil-dev","binary_version":"1.2.10+dfsg-7ubuntu0.16.04.1"},{"binary_name":"liblog4net1.2-cil","binary_version":"1.2.10+dfsg-7ubuntu0.16.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1285.json"}},{"package":{"name":"log4net","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/log4net@1.2.10+dfsg-7ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.10+dfsg-7ubuntu0.18.04.1"}]}],"versions":["1.2.10+dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4net-cil-dev","binary_version":"1.2.10+dfsg-7ubuntu0.18.04.1"},{"binary_name":"liblog4net1.2-cil","binary_version":"1.2.10+dfsg-7ubuntu0.18.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1285.json"}},{"package":{"name":"log4net","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/log4net@1.2.10+dfsg-7ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.10+dfsg-7ubuntu0.20.04.1"}]}],"versions":["1.2.10+dfsg-7"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4net-cil-dev","binary_version":"1.2.10+dfsg-7ubuntu0.20.04.1"},{"binary_name":"liblog4net1.2-cil","binary_version":"1.2.10+dfsg-7ubuntu0.20.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1285.json"}},{"package":{"name":"log4net","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/log4net@1.2.10+dfsg-8?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.10+dfsg-8"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4net-cil-dev","binary_version":"1.2.10+dfsg-8"},{"binary_name":"liblog4net1.2-cil","binary_version":"1.2.10+dfsg-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1285.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}