CVE-2021-27905

NameCVE-2021-27905
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lucene-solr (PTS)jessie, jessie (lts)3.6.2+dfsg-5+deb8u3vulnerable
stretch (security), stretch (lts), stretch3.6.2+dfsg-10+deb9u3vulnerable
buster3.6.2+dfsg-20+deb10u2vulnerable
bullseye3.6.2+dfsg-24fixed
sid, trixie, bookworm3.6.2+dfsg-26fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lucene-solrsourcejessie(unfixed)end-of-life
lucene-solrsource(unstable)3.6.2+dfsg-23

Notes

[buster] - lucene-solr <ignored> (Minor issue)
[stretch] - lucene-solr <postponed> (Minor issue; can be fixed in next update)
https://lists.apache.org/thread.html/r0ddc3a82bd7523b1453cb7a5e09eb5559517145425074a42eb326b10%40%3Cannounce.apache.org%3E
Server components disabled in 3.6.2+dfsg-23, using that as the fixed version

Search for package or bug name: Reporting problems