CVE-2019-17558Apache Solr
Remote Code Execution in Apache Solr VelocityResponseWriter
High 7.5 KEV High EPSS
Follow: this CVE · Apache · Apache Solr We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 7.5
- EPSS
- 98.6% probability of exploitation in 30 days · percentile 100
- Auth required
- Yes
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Unknown
- Published
- Dec 30, 2019
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Apache Solr 5.0.0 through 8.3.1 is vulnerable to remote code execution via the VelocityResponseWriter plug-in. An authenticated user can execute malicious code through Velocity templates in configsets or parameters. CISA confirmed this vulnerability as actively exploited.
Show the original NVD text
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).
Exploitation confirmed by CISA
The Apache Solr VelocityResponseWriter plug-in contains an unspecified vulnerability which can allow for remote code execution.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 7.7.3, 8.4.0
Update Apache Solr to version 7.7.3 or later (8.4.0 or higher for the 8.x branch). Solr 8.4 removed the params resource loader entirely and requires configsets to be trusted.
- Apply the vendor's security update for Solr.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- Check logs for signs of earlier exploitation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.solr:solr-core |
≥ 5.0.0 < 8.4.0 |
8.4.0 |
— |
| Maven | org.apache.solr:solr-core |
≥ 6.0.0 < 8.4.0 |
8.4.0 |
— |
| Maven | org.apache.solr:solr-core |
≥ 7.0.0 < 8.4.0 |
8.4.0 |
— |
| Maven | org.apache.solr:solr-core |
≥ 8.0.0 < 8.4.0 |
8.4.0 |
— |
Per OSV / GitHub Advisories (GHSA-ww97-9w65-2crx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | solr | ≥ 5.0.0 < 7.7.3 |
| apache | solr | ≥ 8.0.0 < 8.4.0 |
| oracle | primavera_unifier | ≥ 17.7 ≤ 17.12 |
| oracle | primavera_unifier | 16.1 |
| oracle | primavera_unifier | 16.2 |
| oracle | primavera_unifier | 18.8 |
| oracle | primavera_unifier | 19.12 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- issues.apache.org Exploit Issue Tracking Patch
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Issue Tracking Mailing List
- lists.apache.org Exploit Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Mailing List
- lists.apache.org Exploit Mailing List
- www.oracle.com Third Party Advisory
- www.cisa.gov US Government Resource