Live threats

All CVEs / Apache

CVE-2021-27905Apache Solr

Critical 9.8 No auth neededHigh EPSS

Priority
83
CVSS 3.1
9.8
EPSS
93.1%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 13, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-918
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Solr.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.solr:solr-parent < 8.8.2 8.8.2 —

Per OSV / GitHub Advisories (GHSA-5phw-3jrp-3vj8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachesolr< 8.8.2

Official sources

References

Links published by the sources. Open them with care.