p PatchFirst

CVE-2021-27905

CVE-2021-27905 · SSRF vulnerability with the Replication handler

CVSS 9.8 · Critical · EPSS 93.1% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="lucene-solr"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • apache solr

    Versions
    • ≥ Apache Solr, < 8.8.2: Affected (custom)

    Update to 8.8.2

  • lucene-solr Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.6.2+dfsg-23

    Update to 3.6.2+dfsg-23

  • lucene-solr Ubuntu Pro 14.04 LTS

    Versions
    • 3.6.2+dfsg-1
    • 3.6.2+dfsg-2
    • 3.6.2+dfsg-2ubuntu0.1~esm1
    • 3.6.2+dfsg-2ubuntu0.1~esm2
    • 3.6.2+dfsg-2ubuntu0.1~esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu Pro 16.04 LTS

    Versions
    • 3.6.2+dfsg-7
    • 3.6.2+dfsg-8
    • 3.6.2+dfsg-8ubuntu0.1
    • 3.6.2+dfsg-8ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu Pro 18.04 LTS

    Versions
    • 3.6.2+dfsg-10
    • 3.6.2+dfsg-11
    • 3.6.2+dfsg-18~18.04
    • 3.6.2+dfsg-18~18.04.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 20.04 LTS

    Versions
    • 3.6.2+dfsg-20
    • 3.6.2+dfsg-22
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 22.04 LTS

    Versions
    • 3.6.2+dfsg-24
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 24.04 LTS

    Versions
    • 3.6.2+dfsg-26
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 25.10

    Versions
    • 3.6.2+dfsg-26
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 26.10

    Versions
    • 3.6.2+dfsg-27
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • lucene-solr Ubuntu 26.04 LTS

    Versions
    • 3.6.2+dfsg-26
    • 3.6.2+dfsg-27
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →