HIGH 7.1

CVE-2021-27905

Server-Side Request Forgery in Apache Solr

Description

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.solr » solr-parent
< 8.8.2
8.8.2

Blast radius

1affected artifacts
1,238affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.