CVE-2019-17558: Apache Solr Remote Code Execution

org.apache.solr:solr-core Updated 02 Oct 2025

Summary

12/02/2020
Yes i
High
7.5

CVE-2019-17558: Improper Input Validation in Apache Solr. Affects org.apache.solr:solr-core across 4 version ranges.

>= 5.0.0, < 8.4.0 >= 6.0.0, < 8.4.0 >= 7.0.0, < 8.4.0 >= 8.0.0, < 8.4.0

Fixed in 8.4.0. How to fix ↓

Also tracked for

The same CVE-2019-17558 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, faceted search, and indexing capabilities. The Solr Core package, specifically versions 5.0.0 to 8.3.1, is vulnerable to a Remote Code Execution (RCE) through the VelocityResponseWriter. This vulnerability allows an attacker to execute arbitrary code on the affected system.

Vulnerability Detail

The vulnerability arises from the ability to provide a Velocity template through Velocity templates in a configset velocity/ directory or as a parameter. A user-defined configset could contain renderable, potentially malicious, templates. By default, parameter-provided templates are disabled, but they can be enabled by setting params.resource.loader.enabled and defining a response writer with that setting set to true. This 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' (uploaded by an authenticated user). The vulnerability has a CVSS score of 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

How To Fix

Latest published version: 10.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.4.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, upgrading to Apache Solr version 8.4.0 or later will mitigate the issue.

Conclusion

Apache Solr versions 5.0.0 to 8.3.1 are vulnerable to a Remote Code Execution (RCE) through the VelocityResponseWriter. Upgrading to version 8.4.0 or later and ensuring the use of trusted configsets is recommended to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.solr:solr-core →

Share this vulnerability

FAQ

Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, faceted search, and indexing capabilities.

This vulnerability allows an attacker to execute arbitrary code on the affected system, potentially leading to unauthorized access, data leakage, or system compromise.

To fix this vulnerability, it is recommended to upgrade to Apache Solr version 8.4.0 or later and ensure that only trusted configsets are used.

There is no specific workaround provided for this vulnerability. However, upgrading to Apache Solr version 8.4.0 or later will mitigate the issue.

The CVSS score of this vulnerability is 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.solr:solr-core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 10.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.4.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback