
CVE catalog
CVE-2021-40690
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
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 7.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libxml-security-java | sid | 2.2.6-1 | fixed |
| Debian | libxml-security-java | forky | 2.2.6-1 | fixed |
| Debian | libxml-security-java | trixie | 2.1.8-1.1~deb13u1 | fixed |
| Debian | libxml-security-java | bookworm | 2.1.7-3+deb12u1 | fixed |
| Cpe | santuario_xml_security_for_java | Not reported | 2.2.3 | fixed |
| Cpe | cxf | Not reported | Not reported | unknown |
| Cpe | tomee | Not reported | 8.0.8 | fixed |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | agile_product_lifecycle_management | Not reported | Not reported | unknown |
| Cpe | commerce_guided_search | Not reported | Not reported | unknown |
| Cpe | commerce_platform | Not reported | Not reported | unknown |
| Cpe | communications_diameter_intelligence_hub | Not reported | Not reported | unknown |
| Cpe | communications_messaging_server | Not reported | Not reported | unknown |
| Cpe | flexcube_private_banking | Not reported | Not reported | unknown |
| Cpe | outside_in_technology | Not reported | Not reported | unknown |
| Cpe | peoplesoft_enterprise_peopletools | Not reported | Not reported | unknown |
| Cpe | retail_bulk_data_integration | Not reported | Not reported | unknown |
| Cpe | retail_financial_integration | Not reported | Not reported | unknown |
| Ubuntu | libxml-security-java | 18.04 | 1.5.8-2 | vulnerable |
| Ubuntu | libxml-security-java | 18.04 | 2.0.10-2~18.04 | vulnerable |
| Ubuntu | libxml-security-java | 18.04 | 2.0.10-2~18.04.1 | fixed |
| Ubuntu | libxml-security-java | 20.04 | 2.0.10-2 | vulnerable |
| Ubuntu | libxml-security-java | 20.04 | 2.0.10-2+deb11u1build0.20.04.1 | fixed |
| Ubuntu | libxml-security-java | 16.04 | 1.5.6-1 | vulnerable |
| Ubuntu | libxml-security-java | 18.04 | 1.5.8-2 | vulnerable |
| Ubuntu | libxml-security-java | 18.04 | 2.0.10-2~18.04 | vulnerable |
| Ubuntu | libxml-security-java | 18.04 | 2.0.10-2~18.04.1 | fixed |
| Ubuntu | libxml-security-java | 20.04 | 2.0.10-2 | vulnerable |
| Ubuntu | libxml-security-java | 20.04 | 2.0.10-2+deb11u1build0.20.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libxml-security-java | source | sid | 2.1.7-1 | not yet assigned | Not reported | [994569] |
| Debian | libxml-security-java | source | forky | 2.1.7-1 | not yet assigned | Not reported | [994569] |
| Debian | libxml-security-java | source | trixie | 2.1.7-1 | not yet assigned | Not reported | [994569] |
| Debian | libxml-security-java | source | bookworm | 2.1.7-1 | not yet assigned | Not reported | [994569] |
| Cpe | santuario_xml_security_for_java | cpe | Not reported | 2.2.3 | Not reported | NVD-CVE-2021-40690 | Not reported |
| Cpe | tomee | cpe | Not reported | 8.0.8 | Not reported | NVD-CVE-2021-40690 | Not reported |
| Ubuntu | libxml-security-java | deb | 18.04 | 2.0.10-2~18.04.1 | Not reported | USN-5525-1 | Not reported |
| Ubuntu | libxml-security-java | deb | 20.04 | 2.0.10-2+deb11u1build0.20.04.1 | Not reported | USN-5525-1 | Not reported |
| Ubuntu | libxml-security-java | deb | 18.04 | 2.0.10-2~18.04.1 | Not reported | UBUNTU-CVE-2021-40690 | Not reported |
| Ubuntu | libxml-security-java | deb | 20.04 | 2.0.10-2+deb11u1build0.20.04.1 | Not reported | UBUNTU-CVE-2021-40690 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libxml-security-java]Fixed
Details (2)
2.1.7-3+deb12u1· all · bookwormFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · bookworm; nvd · libxml-security-java · debian · 12
2.1.7-3+deb12u1· all · bookwormFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · bookworm; nvd · libxml-security-java · debian · 12
- [libxml-security-java-doc]Fixed
Source package: [libxml-security-java]
Details (2)
2.1.7-3+deb12u1· all · bookwormFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · bookworm; nvd · libxml-security-java · debian · 12
2.1.7-3+deb12u1· all · bookwormFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · bookworm; nvd · libxml-security-java · debian · 12
[Debian 13 (Trixie)]
- [libxml-security-java]Fixed
Details (2)
2.1.8-1.1~deb13u1· all · trixieFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · 13
2.1.8-1.1~deb13u1· all · trixieFixed · Fixed:
2.1.7-1nvd · libxml-security-java · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_11693-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-40690]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-40690]
- [https://osv.dev/vulnerability/DLA-2767-1]
- [https://osv.dev/vulnerability/DSA-5010-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-40690]
- [https://osv.dev/vulnerability/USN-5525-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-40690]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-40690.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0607.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]