CVE-2024-45217Apache Solr: ConfigSets created during a backup restore command are trusted implicitly
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45217 | |
| Ubuntu 26.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45217 | |
| Ubuntu 25.10 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-45217 | |
| Ubuntu 24.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45217 | |
| Ubuntu 22.04 | lucene-solr | Under investigation | UBUNTU-CVE-2024-45217 | |
| Ubuntu 20.04 | lucene-solr | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-45217 | |
| Ubuntu 18.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45217 | |
| Ubuntu 16.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45217 | |
| Ubuntu 14.04 | lucene-solr | Fix pending | UBUNTU-CVE-2024-45217 | |
| Maven library | org.apache.solr:solr | Fixed | 9.7.0 | GHSA-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.
- Apache Software Foundation Apache Solr: affected: 6.6.0 to before 8.11.4, 9.0.0 to before 9.7.0; fixed in
8.11.4,9.7.0
Vendor advisories:
- https://solr.apache.org/security.html#cve-2024-45217-apache-solr-configsets-created-durin… (vendor-advisory)
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.