CVE-2021-40690
No exploitation reported by the sources we read.
- Published2021-09-19
- WeaknessCWE-200
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2021-09-1918:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.1 | = 14.1.3.2 | no fix published | NVD |
| 15.0 | = 15.0.3.1 | no fix published | NVD |
| 16.0 | = 16.0.3 | no fix published | NVD |
| 19.0 | = 19.0.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.1 | = 14.1.3.2 | no fix published | NVD |
| 15.0 | = 15.0.3.1 | no fix published | NVD |
| 16.0 | = 16.0.3 | no fix published | NVD |
| 19.0 | = 19.0.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.1 | = 14.1.3.2 | no fix published | NVD |
| 15.0 | = 15.0.3.1 | no fix published | NVD |
| 16.0 | = 16.0.3 | no fix published | NVD |
| 19.0 | = 19.0.1 | no fix published | NVD |
15 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache SantuarioAffected
- ≥ XML Security for Java, < 2.2.3,2.1.7fixed in 2.2.3,2.1.7custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-08-18
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- eap7-activemq-artemisRed Hat:jboss_enterprise_application_platform_eus:7.1::el7all versions · fixed in 0:1.5.5.016-1.redhat_00001.1.ep7.el7and 15 other packages
- eap7-apache-cxfRed Hat:jboss_enterprise_application_platform:7.3::el8all versions · fixed in 0:3.3.12-1.redhat_00001.1.el8eapand 3 other packages
- eap7-apache-cxfRed Hat:jboss_enterprise_application_platform:7.3::el7all versions · fixed in 0:3.3.12-1.redhat_00001.1.el7eapand 3 other packages
- eap7-apache-cxfRed Hat:jboss_enterprise_application_platform:7.3::el6all versions · fixed in 0:3.3.12-1.redhat_00001.1.el6eapand 3 other packages
- eap7-artemis-nativeRed Hat:jboss_enterprise_application_platform_eus:7.1::el7all versions · fixed in 1:1.5.5.016-1.redhat_00001.1.ep7.el7and 2 other packages
- eap7-ironjacamarRed Hat:jboss_enterprise_application_platform:7.3::el8all versions · fixed in 0:1.5.3-1.Final_redhat_00001.1.el8eapand 8 other packages
- eap7-ironjacamarRed Hat:jboss_enterprise_application_platform:7.3::el7all versions · fixed in 0:1.5.3-1.Final_redhat_00001.1.el7eapand 8 other packages
- eap7-ironjacamarRed Hat:jboss_enterprise_application_platform:7.3::el6all versions · fixed in 0:1.5.3-1.Final_redhat_00001.1.el6eapand 8 other packages
51 more package ranges on OSV.dev
Vendor advisories
xml-security: XPath Transform abuse allows for information disclosure
openshift-logging/elasticsearch6-rhel8 as a component of Logging Subsystem for Red Hat OpenShift · camel-quarkus-xmlsecurity as a component of Red Hat Integration Camel Quarkus 1 · xmlsec as a component of Red Hat Integration Service Registry · +8 more
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update
Red Hat Security Advisory: Red Hat Integration Camel-K 1.8 security update
Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update
Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus 2.2.1 security update
Red Hat Security Advisory: Red Hat Integration - Service Registry release and security update [2.0.3.GA]
11 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2025:4226 · 34 productsBefore applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://access…
- Vendor fix Red Hat Product Security RHSA-2022:6407 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:5532 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are available from the Fuse 7.11.0 product documentation page: https://access.redhat.com/documentation/en-us/red_ha…
- Vendor fix Red Hat Product Security RHSA-2022:0164 · 1 productTo update to the latest Red Hat Single Sign-On 7.5.1 for OpenShift image, Follow these steps to pull in the content: 1. On your master hosts, ensure you are logged into the CLI as a cluster administrator or user with project administrator access to the global "openshift" project. For example: $ o…
- Vendor fix Red Hat Product Security RHSA-2022:0155 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2022:0146 · 1 productThis advisory is informational only. There are no code changes associated with it. No action is required.
Advisories and patches
- lists.apache.orgPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-24
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-08
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CNAweakness (CWE)CWE-200known since 2026-10-23
- NVDweakness (CWE)CWE-200read 2026-10-23
- FIRST EPSSEPSS score7.4 %2026-11-23
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2021-09-20
Identifiers
- CGA-779v-px83-5wvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9j8w-c598-52mhsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2021-2083same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-j8wc-gxx9-82hxsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-2767-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5010-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2024:11693-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:5149advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:5150advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:5151advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0151advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0152advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:4226advisory covering several CVEsRed Hat · CC-BY-4.0
- USN-5525-1advisory covering several CVEsUbuntu
- USN-9142-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2021-09-19
- Last modified
- 2026-10-08
- NVD status
- Modified
- GitHub advisory
- GHSA-j8wc-gxx9-82hx
Frequently asked questions
What is CVE-2021-40690?
Is CVE-2021-40690 actively exploited?
What is the CVSS score for CVE-2021-40690?
Running xml-security? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-j8wc-gxx9-82hx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0