HIGH 7.5

CVE-2019-17558

Improper Input Validation in Apache Solr

Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.

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)

ArtifactAffected versionsFixed 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

1affected artifacts
310affected versions
541dependent artifacts (est.)
41,944dependent versions

54% of the dependent artifacts (295) still pull an affected version in their latest release.

DepthDependent 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

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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Webcisa.gov
Weboracle.com
Webissues.apache.org
Webissues.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org