CVE-2019-17558: Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter.
CVE-2019-17558 affects 56 listed versions of Apache Solr in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache Solr
56 of 128 listed versions are affected. Fixed in 8.4.0, 7.7.3. The newest release, 10.1.0, is not affected.
8.3.1 8.3.0 8.2.0 8.1.2 8.1.1 8.1.0 8.0.0 7.7.2 7.7.1 7.7.0 7.7 7.6.0 7.5.0 7.4.0 7.3.1 7.3.0 7.2.1 7.2.0 7.1.0 7.0.1 7.0.0 6.6.6 6.6.5 6.6.4 6.6.3 6.6.2 6.6.1 6.6.0 6.5.1 6.5.0 6.4.2 6.4.1 6.4.0 6.3.0 6.2.1 6.2.0 6.1.0 6.0.1 6.0.0 5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.1 5.4.0 5.3.2 5.3.1 5.3.0 5.3 5.2.1 5.2.0 5.1.0 5.0.0 5.0
What it is
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).
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Apache Software Foundation on 30 December 2019. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2019-17558 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.