CVEfocus › CVE database › CVE-2025-24814

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

CVSS 5.4 MediumEPSS 1.6% (higher than 76% of CVEs)Published 2025-01-27Updated 2025-02-15Assigner: apache

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.

CWE-250

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 25.10lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 24.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 22.04lucene-solrNot affected
vulnerable_code_not_present
Ubuntu 20.04lucene-solrFix pendingUBUNTU-CVE-2025-24814
Ubuntu 18.04lucene-solrFix pendingUBUNTU-CVE-2025-24814
Ubuntu 16.04lucene-solrFix pendingUBUNTU-CVE-2025-24814
Ubuntu 14.04lucene-solrFix pendingUBUNTU-CVE-2025-24814
Debian 14lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2025-24814
Debian 13lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2025-24814
Debian 12lucene-solrFixed3.6.2+dfsg-23DEBIAN-CVE-2025-24814
Maven libraryorg.apache.solr:solr-coreFixed9.8.0GHSA-68r2-fwcg-qpm8

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.