# Improper Input Validation in Apache Solr

Advisory record · `GHSA-ww97-9w65-2crx`

- **Identifiers:** `GHSA-ww97-9w65-2crx` · `CVE-2019-17558`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** Yes: KEV, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-74](https://cwe.mitre.org/data/definitions/74.html) · [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 12 Feb 2020
- **Updated:** 22 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Feb 2020, 18:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- In CISA’s KEV catalogue since 3 Nov 2021: it is known to be exploited.
- CVSS score 7.5 (7.0 or more) and EPSS 0.99 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.solr:solr-core` (Maven): affected `>=5.0.0, <8.4.0 || >=6.0.0, <8.4.0 || >=7.0.0, <8.4.0 || >=8.0.0, <8.4.0`; fixed in `8.4.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Solr solr-core versions 5.0.0 through 8.3.1 are vulnerable to remote code execution through the VelocityResponseWriter. An attacker who can supply a malicious Velocity template, either in a configset or as a request parameter when that option is enabled, can run code on the server. Upgrade to Solr 8.4.0 or later, which removes the parameter template loader and renders configset templates only for trusted configsets.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H`, from GitHub Advisory Database

- **CISA KEV:** Listed since 3 Nov 2021: known to be exploited.
- **EPSS:** 0.99, the 99th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-ww97-9w65-2crx)

## Sources

- [GitHub Advisory Database: GHSA-ww97-9w65-2crx](https://github.com/advisories/GHSA-ww97-9w65-2crx)
- [OSV: GHSA-ww97-9w65-2crx](https://osv.dev/vulnerability/GHSA-ww97-9w65-2crx)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-17558>
- <https://github.com/apache/lucene-solr/pull/1156>
- <https://lists.apache.org/thread.html/r7f21ab40a9b17b1a703db84ac56773fcabacd4cc1eb5c4700d17c071%40%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r7f21ab40a9b17b1a703db84ac56773fcabacd4cc1eb5c4700d17c071@%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r8a36e4f92f4449dec517e560e1b55639f31b3aca26c37bbad45e31de%40%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r8a36e4f92f4449dec517e560e1b55639f31b3aca26c37bbad45e31de@%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r8e7a3c253a695a7667da0b0ec57f9bb0e31f039e62afbc00a1d96f7b%40%3Csolr-user.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r8e7a3c253a695a7667da0b0ec57f9bb0e31f039e62afbc00a1d96f7b@%3Csolr-user.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r9271d030452170ba6160c022757e1b5af8a4c9ccf9e04164dec02e7f%40%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r9271d030452170ba6160c022757e1b5af8a4c9ccf9e04164dec02e7f@%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r99c3f7ec3a079e2abbd540ecdb55a0e2a0f349ca7084273a12e87aeb%40%3Cissues.lucene.apache.org%3E>
- <https://lists.apache.org/thread.html/r99c3f7ec3a079e2abbd540ecdb55a0e2a0f349ca7084273a12e87aeb@%3Cissues.lucene.apache.org%3E>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-ww97-9w65-2crx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-ww97-9w65-2crx/>. Everything for agents: <https://agentprime.io/llms.txt>.
