CVE-2021-27905: Apache Solr
Critical severity, CVSS 9.8. EPSS: 93% probability of exploitation activity in the next 30 days.
The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also "leaderUrl" alias) parameter that is used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a SSRF vulnerability, Solr ought to check these parameters against a similar configuration it uses for the "shards" parameter. Prior to this bug getting fixed, it did not. This problem affects essentially all Solr versions prior to it getting fixed in 8.8.2.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Apache Solr, before 8.8.2: fixed in 8.8.2
Affected products
Affected packages
- org.apache.solr:solr-parent (Maven)
Published 2021-04-13. Last modified 2026-06-17.