Skip to main content
No exploitation reportedFix available

CVE-2021-40690

No exploitation reported by the sources we read.

  • Published2021-09-19
  • WeaknessCWE-200

Am I 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
  1. 2021-09-1918:15CVE publishedNVD

Versions per branch

NVD
Oracle retail financial integration
BranchAffectedFixed in
14.1= 14.1.3.2no fix published
15.0= 15.0.3.1no fix published
16.0= 16.0.3no fix published
19.0= 19.0.1no fix published
Oracle retail integration bus
BranchAffectedFixed in
14.1= 14.1.3.2no fix published
15.0= 15.0.3.1no fix published
16.0= 16.0.3no fix published
19.0= 19.0.1no fix published
Oracle retail service backbone
BranchAffectedFixed in
14.1= 14.1.3.2no fix published
15.0= 15.0.3.1no fix published
16.0= 16.0.3no fix published
19.0= 19.0.1no fix published

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 Santuario
    Affected
    • ≥ 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

  • CVE-2021-40690 Red Hat Product Security304 products fixed · 11 known affected

    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

  • RHSA-2025:4226 Red Hat Product Security34 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update

  • RHSA-2022:6407 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel-K 1.8 security update

  • RHSA-2022:5532 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.11.0 release and security update

  • RHSA-2022:1013 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration Camel Extensions for Quarkus 2.2.1 security update

  • RHSA-2022:0501 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Integration - Service Registry release and security update [2.0.3.GA]

11 more advisories

Full record on NVD

Fix

  1. 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…
  2. 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
  3. 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…
  4. 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…
  5. 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).
  6. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2021-40690 actively exploited?

Active exploitation of CVE-2021-40690 has not been confirmed. Its EPSS score was 7.4% on 2026-11-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-40690?

CVE-2021-40690 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

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

Sources for this record