CVEfocus › CVE database › CVE-2024-45217

CVE-2024-45217Apache Solr: ConfigSets created during a backup restore command are trusted implicitly

CVSS 8.1 HighEPSS 1.2% (higher than 67% of CVEs)Published 2024-10-16Updated 2024-10-16Assigner: apache

Insecure Default Initialization of Resource vulnerability in Apache Solr. New ConfigSets that are created via a Restore command, which copy a configSet from the backup and give it a new name, are created without setting the "trusted" metadata. ConfigSets that do not contain the flag are trusted implicitly if the metadata is missing, therefore this leads to "trusted" ConfigSets that may not have been created with an Authenticated request. "trusted" ConfigSets are able to load custom code into classloaders, therefore the flag is supposed to only be set when the request that uploads the ConfigSet is Authenticated & Authorized. This issue affects Apache Solr: from 6.6.0 before 8.11.4, from 9.0.0 before 9.7.0. This issue does not affect Solr instances that are secured via Authentication/Authorization. Users are primarily recommended to use Authentication and Authorization when running Solr. However, upgrading to version 9.7.0, or 8.11.4 will mitigate this issue otherwise.

CWE-1188

What to do

Fixed builds are available from 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

1Fixed
4Fix pending
3Under investigation
2Will not fix

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.10lucene-solrFix pendingUBUNTU-CVE-2024-45217
Ubuntu 26.04lucene-solrUnder investigationUBUNTU-CVE-2024-45217
Ubuntu 25.10lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-45217
Ubuntu 24.04lucene-solrUnder investigationUBUNTU-CVE-2024-45217
Ubuntu 22.04lucene-solrUnder investigationUBUNTU-CVE-2024-45217
Ubuntu 20.04lucene-solrWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-45217
Ubuntu 18.04lucene-solrFix pendingUBUNTU-CVE-2024-45217
Ubuntu 16.04lucene-solrFix pendingUBUNTU-CVE-2024-45217
Ubuntu 14.04lucene-solrFix pendingUBUNTU-CVE-2024-45217
Maven libraryorg.apache.solr:solrFixed9.7.0GHSA-h7w9-c5vx-x7j3

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.