GHSA-ww97-9w65-2crx is a high-severity (CVSS 7.5) CWE-74 vulnerability in org.apache.solr:solr-core. It is in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03) — treat it as actively exploited and patch now. A fix is available for org.apache.solr:solr-core — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2021-11-03. Federal agencies were required to remediate by 2022-05-03.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for GHSA-ww97-9w65-2crx.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-ww97-9w65-2crx by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.solr:solr-core☕org.apache.solr:solr-core☕org.apache.solr:solr-core☕org.apache.solr:solr-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.solr:solr-core | ≥ 5.0.0&&< 8.4.0 | 8.4.0org.apache.solr:solr-core:8.4.0 |
| ☕Maven | org.apache.solr:solr-core | ≥ 6.0.0&&< 8.4.0 | 8.4.0org.apache.solr:solr-core:8.4.0 |
| ☕Maven | org.apache.solr:solr-core | ≥ 7.0.0&&< 8.4.0 | 8.4.0org.apache.solr:solr-core:8.4.0 |
| ☕Maven | org.apache.solr:solr-core | ≥ 8.0.0&&< 8.4.0 | 8.4.0org.apache.solr:solr-core:8.4.0 |
Affected Products
solrapacheprimavera unifieroracleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache Solr 8.2.0 - Remote Code Execution
by @l3x_wong · Nov 1, 2019
Apache Solr - Remote Code Execution via Velocity Template (Metasploit)
by Metasploit · Apr 16, 2020
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.solr:solr-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.solr:solr-core to 8.4.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-ww97-9w65-2crx is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How to detect GHSA-ww97-9w65-2crx
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-ww97-9w65-2crx -u https://target- Template
- Apache Solr <=8.3.1 - Remote Code Execution
- Severity
- high
- Impact
- Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system.
- Remediation
- Upgrade to a patched version of Apache Solr (8.4.0 or later) to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (pikpikcu, madrobot), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-ww97-9w65-2crx in your dependencies?
Find it across Maven, including transitive dependencies.