{"id":"UBUNTU-CVE-2021-40690","details":"All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the \"secureValidation\" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.","modified":"2026-02-04T03:34:28.960872Z","published":"2021-09-19T18:15:00Z","related":["USN-5525-1"],"upstream":["CVE-2021-40690"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-40690"},{"type":"REPORT","url":"https://santuario.apache.org/secadv.data/CVE-2021-40690.txt.asc"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3E"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5525-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-40690"}],"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/2021/UBUNTU-CVE-2021-40690.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"},{"fixed":"2.0.10-2~18.04.1"}]}],"versions":["1.5.8-2","2.0.10-2~18.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.0.10-2~18.04.1","binary_name":"libxml-security-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40690.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"},{"fixed":"2.0.10-2+deb11u1build0.20.04.1"}]}],"versions":["2.0.10-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libxml-security-java","binary_version":"2.0.10-2+deb11u1build0.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-40690.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:N/A:N"},{"type":"Ubuntu","score":"medium"}]}