Apache · Solr · CWE-74 · published 2019-12-30
CVE-2019-17558Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability
This week Known exploited in the wild.
CVE-2019-17558 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03. EPSS estimates a 98.6% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Solr vulnerability: CVSS 7.5 (v3.1), a successful attack gives total control of the component. Debian and Ubuntu still have unfixed releases. US federal agencies must remediate by 2022-05-03. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2022-05-03)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | lucene-solr | No fix yet |
| 12 bookworm | lucene-solr | No fix yet | |
| Ubuntu | 24.04 LTS | lucene-solr | No fix yet |
| 22.04 LTS | lucene-solr | No fix yet | |
| 20.04 LTS | lucene-solr | No fix yet |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
App server & middlewareApache Solr
VelocityResponseWriter Plug-In Remote Code ExecutionCVE-2019-17558
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2021-11-03 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 99% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.5 (v3.1)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
More from this vendor: all Apache vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Apache Solr
Apache Solr 5.0.0 to Apache Solr 8.3.1(affected)
Description (from the CVE record)#
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).
Quoted from the CVE Program record.