Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability
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…
Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.
Exploitation probability EPSS · FIRST
Exploitation signals 3 / 5
- KEV catalog (CISA)03 Nov 2021
- Exploited in EUVD (ENISA)03 Nov 2021
- Used by ransomwareno
- EPSS above 10 %98.6%
- No account, over the networkno
What to do
Fix
Apply the vendor’s fix as soon as it is available.
CISA guidance: Apply updates per vendor instructions.
Meanwhile
Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.
Manufacturers (CRA)
Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained
Description ENISA EUVD
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).
Affected products
- Apache Solr 5.0.0 to Apache Solr 8.3.1
Open source packages OSV
Affected libraries according to OSV, with fixed versions.
Timeline
-
Published
-
Exploitation reported (ENISA)
-
Added to the KEV catalog
-
CISA remediation due date
-
EPSS peak: 98.6%
References
- cve.org · CVE-2019-17558
- ENISA EUVD · EUVD-2020-0320
- CISA KEV
- FIRST EPSS
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
Other exploited vulnerabilities from the same vendor
- CVE-2016-3081Apache Struts Command Injection Vulnerability8.5 · Rising fast
- CVE-2026-34486Apache Tomcat Missing Encryption of Sensitive Data Vulnerability8.4 · Actively exploited
- CVE-2026-34197Apache ActiveMQ Improper Input Validation Vulnerability8.3 · Background exploitation
- CVE-2024-38475Apache HTTP Server Improper Escaping of Output Vulnerability9.0 · Background exploitation
- CVE-2025-24813Apache Tomcat Path Equivalence Vulnerability9.4 · Background exploitation
- CVE-2024-45195Apache OFBiz Forced Browsing Vulnerability9.3 · Background exploitation