p PatchFirst

CVE-2025-24814

CVE-2025-24814 · Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files

CVSS 5.4 · Medium · EPSS 1.6% · 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.

Core creation allows users to replace "trusted" configset files with arbitrary configuration

Solr instances that (1) use the "FileSystemConfigSetService" component (the default in "standalone" or "user-managed" mode), and (2) are running without authentication and authorization are vulnerable to a sort of privilege escalation wherein individual "trusted" configset files can be ignored in favor of potentially-untrusted replacements available elsewhere on the filesystem.  These replacement config files are treated as "trusted" and can use "<lib>" tags to add to Solr's classpath, which an attacker might use to load malicious code as a searchComponent or other plugin.

This issue affects all Apache Solr versions up through Solr 9.7.  Users can protect against the vulnerability by enabling authentication and authorization on their Solr clusters or switching to SolrCloud (and away from "FileSystemConfigSetService").  Users are also recommended to upgrade to Solr 9.8.0, which mitigates this issue by disabling use of "<lib>" tags by default.

Published
Updated

Stack: system

Affected products and versions

  • apache solr

    Versions
    • ≥ 0, ≤ 9.7: Affected (semver)

    No fix published

  • 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

Original sources

Check your server →