CVE-2021-27905 in the critical feed json
SSRF vulnerability with the Replication handler
published 5y ago modified 2mo ago also BIT-solr-2021-27905 , EUVD-2021-0959 , GHSA-5phw-3jrp-3vj8
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 93.1%
- EPSS 93.1% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- maven org.apache.solr:solr-parent 8.8.2
- bitnami solr 8.8.2
- Apache Software Foundation Apache Solr 8.8.2
- lucene-solr Debian 14, Debian 13, Debian 12 3.6.2+dfsg-23
debian advisories DEBIAN-CVE-2021-27905
- solr Arch Linux 8.8.2-1
arch linux advisories AVG-1808
Is CVE-2021-27905 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-27905 updated cvss 8.1
solr: SSRF vulnerability with the Replication handler
-
Red Hat JBoss Data Virtualization 6 solr solr Red Hat JBoss Enterprise Application Platform 6 solr solr Red Hat JBoss Fuse 6 solr solr Red Hat JBoss Fuse Service Works 6 solr solraffected: workaround, no fix planned “Restrict access to the replication handler to only internal Solr instances.”
-
Red Hat Fuse 7 solr solr Red Hat Integration Camel K 1 camel-solr camel-solr Red Hat JBoss Web Server 3 solr solrnot affected: vulnerable code not present “Restrict access to the replication handler to only internal Solr instances.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
93.05% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template Apache Solr <=8.8.1 - Server-Side Request Forgery nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.solr:solr-parent | <8.8.2 |
8.8.2 |
| bitnami | solr | <8.8.2 |
8.8.2 |
Affected products
- Apache Software Foundation Apache Solr
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
lists.apache.org
/thread.html/r0ddc3a82bd7523b1453cb7a5e09eb5559517145425074a42eb326b10%40%3Cannounce.apache.org%3E
web, mailing-list, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20210611-0009/
third-party-advisory, advisory
-
lists.apache.org
/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rae9ccaecce9859f709ed1458545d90a4c07163070dc98b5e9e59057f%40%3Cnotifications.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r720a4a0497fc90bad5feec8aa18b777912ee15c7eeb5f882adbf523e%40%3Ccommits.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/re9d64bb8e5dfefddcbf255adb4559e13a0df5b818da1b9b51329723f%40%3Cnotifications.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rd232d77c57a8ce172359ab098df9512d8b37373ab87c444be911b430%40%3Cnotifications.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r78a3a4f1138a1608b0c6d4a2ee7647848c1a20b0d5c652cd9b02c25a%40%3Ccommits.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r6ccec7fc54d82591b23c143f1f6a6e38f6e03e75db70870e4cb14a1a%40%3Ccommits.ofbiz.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r8f1152a43c36d878bbeb5a92f261e9efaf3af313b033d7acfccea59d%40%3Cnotifications.ofbiz.apache.org%3E
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-27905
advisory, web
-
lists.apache.org
/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E
web
-
lists.apache.org
/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E
web
-
lists.apache.org
/thread.html/r6ccec7fc54d82591b23c143f1f6a6e38f6e03e75db70870e4cb14a1a@%3Ccommits.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/r720a4a0497fc90bad5feec8aa18b777912ee15c7eeb5f882adbf523e@%3Ccommits.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/r78a3a4f1138a1608b0c6d4a2ee7647848c1a20b0d5c652cd9b02c25a@%3Ccommits.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/r8f1152a43c36d878bbeb5a92f261e9efaf3af313b033d7acfccea59d@%3Cnotifications.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E
web
-
lists.apache.org
/thread.html/rae9ccaecce9859f709ed1458545d90a4c07163070dc98b5e9e59057f@%3Cnotifications.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/rd232d77c57a8ce172359ab098df9512d8b37373ab87c444be911b430@%3Cnotifications.ofbiz.apache.org%3E
web
-
lists.apache.org
/thread.html/re9d64bb8e5dfefddcbf255adb4559e13a0df5b818da1b9b51329723f@%3Cnotifications.ofbiz.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20210611-0009
web
Sources
- CVE List CVE-2021-27905
- GitHub Advisory GHSA-5phw-3jrp-3vj8
- NVD CVE-2021-27905
- OSV BIT-solr-2021-27905
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.