Security readout for executives and security teams
Plain-English summary
This flaw can make a Java XML security library ignore a safety setting while processing XML signature references. In affected Apache Santuario versions, a crafted XML workflow could expose local .xml files that the application account can read. The main business risk is unintended disclosure of configuration, metadata, or other XML-held sensitive data.
Executive priority
Prioritize remediation for internet-facing or partner-facing Java services that process XML signatures. Treat internal-only usage as lower urgency unless sensitive XML files are present. Because the source bundle lacks active exploitation and CVSS data, urgency should be driven by exposure to untrusted XML and data sensitivity.
Technical view
Apache Santuario XML Security for Java before 2.2.3 and 2.1.7 mishandles secureValidation when building KeyInfo from KeyInfoReference. That gap can allow abuse of an XPath Transform through RetrievalMethod to extract local .xml files. The issue is classified as CWE-200 information exposure; no CVSS score is provided in the bundle.
Likely exposure
Exposure is most likely in Java applications or bundled products using vulnerable Apache Santuario XML Security for Java to process XML signatures. Downstream references mention TomEE, CXF, Debian libxml-security-java, Oracle, and NetApp advisories, so dependency and vendor-product inventory matter.
Exploitation context
The bundle does not show CISA KEV listing or active exploitation evidence. Exploitation appears to require attacker influence over XML security inputs processed by an affected application. Impact is limited in the provided description to local .xml file disclosure, not code execution.
Researcher notes
Key research focus is whether secureValidation is preserved through KeyInfoReference and RetrievalMethod handling in the deployed library path. Avoid assuming all XML parsing is affected; validate actual Santuario usage and whether untrusted XML signature content reaches it.
Mitigation direction
- Upgrade Apache Santuario XML Security for Java to 2.2.3, 2.1.7, or later.
- Apply operating system or vendor updates for bundled libxml-security-java packages.
- Check downstream product advisories for TomEE, CXF, Oracle, NetApp, or other bundled usage.
- Reduce attacker-controlled XML signature processing where business workflows allow.
- Follow Apache or vendor guidance if upgrade constraints exist.
Validation and detection
- Inventory direct and transitive xmlsec or Santuario dependencies in Java applications.
- Confirm deployed versions are 2.2.3, 2.1.7, later, or vendor-patched.
- Review products bundling the library, not only application pom or jar names.
- Identify services that process externally supplied XML signatures or documents.
- Check vendor security advisories for patched build numbers in packaged products.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-200: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-40690 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3ECVE reference
- [tomee-commits] 20210922 [tomee] 02/02: Update xmlsec to 2.2.3 to mitigate CVE-2021-40690CVE reference · mailing-list
- [tomee-commits] 20210923 [jira] [Resolved] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerabilityCVE reference · mailing-list
- [tomee-commits] 20210923 [jira] [Created] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerabilityCVE reference · mailing-list
- [tomee-commits] 20210923 [jira] [Assigned] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerabilityCVE reference · mailing-list
- [tomee-commits] 20210923 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerabilityCVE reference · mailing-list
- [poi-user] 20210923 Re: CVE-2021-40690 on xmlsec jarCVE reference · mailing-list
- [debian-lts-announce] 20210927 [SECURITY] [DLA 2767-1] libxml-security-java security updateCVE reference · mailing-list
- [cxf-issues] 20211027 [jira] [Created] (CXF-8613) High Security issues reported with Apache Santuario library bundled in CXF 3.4.4CVE reference · mailing-list
- [tomee-commits] 20211028 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerabilityCVE reference · mailing-list
- DSA-5010CVE reference · vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlCVE reference
- https://www.oracle.com/security-alerts/cpujul2022.htmlCVE reference
- https://security.netapp.com/advisory/ntap-20230818-0002/CVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Exposure of Sensitive Information to an Unauthorized Actor
Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
