{"id":"UBUNTU-CVE-2018-8013","details":"In Apache Batik 1.x before 1.10, when deserializing subclass of `AbstractDocument`, the class takes a string from the inputStream as the class name which then use it to call the no-arg constructor of the class. Fix was to check the class type before calling newInstance in deserialization.","modified":"2026-01-30T01:51:37.786310Z","published":"2018-05-23T00:00:00Z","related":["USN-3661-1"],"upstream":["CVE-2018-8013"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-8013"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3661-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-8013"}],"affected":[{"package":{"name":"batik","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/batik@1.7.ubuntu-8ubuntu2.14.04.3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.ubuntu-8ubuntu2.14.04.3"}]}],"versions":["1.7.ubuntu-8ubuntu2","1.7.ubuntu-8ubuntu2.14.04.1","1.7.ubuntu-8ubuntu2.14.04.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.ubuntu-8ubuntu2.14.04.3","binary_name":"libbatik-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-8013.json"}},{"package":{"name":"batik","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/batik@1.8-3ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.ubuntu-8ubuntu3","1.8-3","1.8-3ubuntu1","1.8-3ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8-3ubuntu1+esm1","binary_name":"libbatik-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-8013.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}