CVE-2019-0193
XML External Entity (XXE) Injection in Apache Solr
Description
In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, has a feature in which the whole DIH configuration can come from a request's "dataConfig" parameter. The debug mode of the DIH admin screen uses this to allow convenient debugging / development of a DIH config. Since a DIH config can contain scripts, this parameter is a security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" to true.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | < 8.2.0 | 8.2.0 |
Blast radius
66% of the dependent artifacts (1,042) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 14,861 |
| 2 hops | 16,101 |
| 3 hops | 16,235 |
| 4 hops | 13,029 |
| 5 hops | 3,921 |
| 6 hops | 1,793 |
Most used dependents
- org.openmrs.api » openmrs-api564 usages
- org.openmrs.web » openmrs-web521 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.solr » solr-test-framework181 usages
- org.hibernate » hibernate-search-orm156 usages
- org.opencms » opencms-core134 usages
- org.jahia.server » jahia-impl120 usages
- org.openmrs.module » webservices.rest-omod103 usages
- org.hibernate » hibernate-search101 usages
- org.modeshape » modeshape-jcr93 usages
- org.hibernate » hibernate-search-engine88 usages
- org.infinispan » infinispan-server-hotrod85 usages
- org.openmrs.module » providermanagement-api81 usages
- org.infinispan » infinispan-query79 usages
- org.openmrs.module » htmlformentry-api62 usages
Computed from the dependency graph of build 20261125.0317 (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.
