CVE-2019-12400
Improper input validation in Apache Santuario XML Security for Java
Description
In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this implementation might be cached and re-used by Apache Santuario - XML Security for Java, leading to potential security flaws when validating signed documents, etc. The vulnerability affects Apache Santuario - XML Security for Java 2.0.x releases from 2.0.3 and all 2.1.x releases before 2.1.4.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.santuario » xmlsec | >= 2.0.3, < 2.1.4 | 2.1.4 |
Blast radius
43% of the dependent artifacts (987) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,948 |
| 2 hops | 9,229 |
| 3 hops | 27,897 |
| 4 hops | 38,202 |
| 5 hops | 17,912 |
| 6 hops | 9,139 |
Most used dependents
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apache.ws.security » wss4j247 usages
- org.apereo.cas » cas-server-core-services-api243 usages
- org.apereo.cas » cas-server-core-authentication232 usages
- org.apereo.cas » cas-server-core-web212 usages
- org.opensaml » opensaml-saml-impl192 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
