CVE-2019-17558
Improper Input Validation in Apache Solr
Description
Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter. A Velocity template can be provided through Velocity templates in a configset velocity/ directory or as a parameter. A user defined configset could contain renderable, potentially malicious, templates. Parameter provided templates are disabled by default, but can be enabled by setting params.resource.loader.enabled by defining a response writer with that setting set to true. Defining a response writer requires configuration API access. Solr 8.4 removed the params resource loader entirely, and only enables the configset-provided template rendering when the configset is trusted (has been uploaded by an authenticated user).
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | >= 5.0.0, < 8.4.0>= 6.0.0, < 8.4.0>= 7.0.0, < 8.4.0>= 8.0.0, < 8.4.0 | 8.4.0 |
Blast radius
54% of the dependent artifacts (295) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 9,033 |
| 2 hops | 8,837 |
| 3 hops | 11,710 |
| 4 hops | 10,894 |
| 5 hops | 1,391 |
| 6 hops | 79 |
Most used dependents
- org.apache.solr » solr-test-framework181 usages
- org.opencms » opencms-core134 usages
- org.phenotips » vocabularies-api46 usages
- org.dspace » dspace-api43 usages
- org.apache.solr » solr-cell32 usages
- org.xwiki.platform » xwiki-platform-search-solr-api31 usages
- org.apache.solr » solr-analysis-extras31 usages
- org.apache.atlas » atlas-notification24 usages
- org.apache.solr » solr-dataimporthandler23 usages
- org.xwiki.platform » xwiki-platform-search-solr-query19 usages
- com.logicaldoc » logicaldoc-core19 usages
- org.apache.atlas » atlas-common17 usages
- org.apache.atlas » atlas-client-v115 usages
- org.xwiki.platform » xwiki-platform-search-solr-ui15 usages
- ddf.platform.solr » solr-dependencies15 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.
