CVE-2019-17558 Details
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).
A remote code execution vulnerability has been identified in Apache Solr versions 5.0.0 through 8.3.1. The issue arises in the VelocityResponseWriter component, where an attacker can exploit custom Velocity templates. While parameter-provided templates are disabled by default, they can be enabled by configuring 'params.resource.loader.enabled' to true, allowing the execution of malicious templates. This vulnerability is particularly concerning as it has been reported to cause crashes in the Solr process, leading to service disruptions.
Users can upgrade to Apache Solr versions 8.4 or 7.7.3, both of which address this vulnerability. For those using Solr 7.7.2, it is recommended to block external access to the Solr API, as this vulnerability can be exploited remotely.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability | Nov 3, 2021 | May 3, 2022 | Apply updates per vendor instructions. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| apache solr | >= 5.0.0, < 7.7.3 >= 8.0.0, < 8.4.0 |
CPE
Remediation
| |
| oracle primavera unifier | >= 17.7, <= 17.12 16.1 16.2 18.8 19.12 |
CPE
Remediation
| |
Change History
38 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Oct 27, 2025 | Modified Analysis | [email protected] |
| Oct 22, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | Modified Analysis | [email protected] |
| Feb 6, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 25, 2024 | Modified Analysis | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Feb 20, 2022 | Modified Analysis | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Mar 25, 2021 | CVE Modified | [email protected] |
| Mar 22, 2021 | Modified Analysis | [email protected] |
| Mar 15, 2021 | CVE Modified | [email protected] |
| Feb 16, 2021 | Modified Analysis | [email protected] |
| Feb 13, 2021 | CVE Modified | [email protected] |
| Feb 13, 2021 | CVE Modified | [email protected] |
| Feb 12, 2021 | CVE Modified | [email protected] |
| Feb 10, 2021 | CVE Modified | [email protected] |
| Feb 4, 2021 | CVE Modified | [email protected] |
| Dec 9, 2020 | CVE Modified | [email protected] |
| Oct 20, 2020 | CVE Modified | [email protected] |
| Apr 3, 2020 | CVE Modified | [email protected] |
| Mar 20, 2020 | CVE Modified | [email protected] |
| Feb 20, 2020 | CVE Modified | [email protected] |
| Feb 19, 2020 | CVE Modified | [email protected] |
| Feb 14, 2020 | CVE Modified | [email protected] |
| Feb 13, 2020 | CVE Modified | [email protected] |
| Jan 16, 2020 | Modified Analysis | [email protected] |
| Jan 13, 2020 | CVE Modified | [email protected] |
| Jan 8, 2020 | CVE Modified | [email protected] |
| Jan 8, 2020 | CVE Modified | [email protected] |
| Jan 8, 2020 | CVE Modified | [email protected] |
| Jan 7, 2020 | Initial Analysis | [email protected] |
| Jan 7, 2020 | CVE Modified | [email protected] |