InfraGuard

CVE-2019-17558

7.5 CVSS 3.1 Exploited in the wildEPSS 98.6%

What is wrong

Apache Solr is vulnerable to remote code execution through its VelocityResponseWriter component. An attacker can exploit this by supplying malicious Velocity templates through configsets or parameters to execute arbitrary code.

Who is affected

This vulnerability affects Apache Solr versions 5.0.0 through 8.3.1.

What to do

Upgrade Apache Solr to version 7.7.3, 8.4.0, or later.

Original 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).

Known exploited (CISA KEV)

Added to KEV
2021-11-03
Remediation due (US federal)
2022-05-03
Ransomware use
Unknown
Required action
Apply updates per vendor instructions.

Affected software

Details

Published
2019-12-30
Last modified
2026-06-17
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-74
EPSS (30-day exploit probability)
98.57% (percentile 100)

References

Track these versions on your own servers

InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.

Weekly exploited-vulnerability digest

The KEV additions that matter for self-hosted servers, once a week. No other mail.

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.