Live threats

All CVEs / Apache

CVE-2019-17558Apache Solr

Remote Code Execution in Apache Solr VelocityResponseWriter

High 7.5 KEV High EPSS

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

Source text, unmodified. NVD.

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.

Source text, unmodified. CISA KEV.

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.

Vendor advisory · issues.apache.org ↗

  1. Apply the vendor's security update for Solr.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachesolr≥ 5.0.0 < 7.7.3
apachesolr≥ 8.0.0 < 8.4.0
oracleprimavera_unifier≥ 17.7 ≤ 17.12
oracleprimavera_unifier16.1
oracleprimavera_unifier16.2
oracleprimavera_unifier18.8
oracleprimavera_unifier19.12

Official sources

References

Links published by the sources. Open them with care.