{"id":"UBUNTU-CVE-2019-12400","details":"In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.","modified":"2025-10-24T04:47:40Z","published":"2019-08-23T21:15:00Z","upstream":["CVE-2019-12400"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12400"},{"type":"REPORT","url":"http://santuario.apache.org/secadv.data/CVE-2019-12400.asc"},{"type":"REPORT","url":"http://santuario.apache.org/secadv.data/CVE-2019-12400.asc?version=1&modificationDate=1566573083000&api=v2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-12400"}],"affected":[{"package":{"name":"libxml-security-java","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libxml-security-java@1.5.6-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-security-java","binary_version":"1.5.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12400.json"}},{"package":{"name":"libxml-security-java","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libxml-security-java@2.0.10-2~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.8-2","2.0.10-2~18.04","2.0.10-2~18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-security-java","binary_version":"2.0.10-2~18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12400.json"}},{"package":{"name":"libxml-security-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libxml-security-java@2.0.10-2+deb11u1build0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.10-2","2.0.10-2+deb11u1build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-security-java","binary_version":"2.0.10-2+deb11u1build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12400.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}