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

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-10-16T07:51:16.558Z
- Modified: 2026-09-08T08:48:19.351Z
- Also known as: GHSA-h7w9-c5vx-x7j3, BIT-SOLR-2024-45217
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Solr: from 6.6.0 before 8.11.4; from 9.0.0 before 9.7.0
- apache_software_foundation apache_solr: from 6.6.0 before 8.11.4; from 9.0.0 before 9.7.0
- org.apache.solr:solr (Maven): from 6.6.0 before 8.11.4; from 9.0.0 before 9.7.0
- apache solr: from 6.6.0 before 8.11.4; from 9.0.0 before 9.7.0
- solr (Bitnami): from 6.6.0 before 8.11.4; from 9.0.0 before 9.7.0

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://solr.apache.org/security.html#cve-2024-45217-apache-solr-configsets-created-during-a-backup-restore-command-are-trusted-implicitly> (advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/10/15/9> (discussion, mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45217> (advisory, web)
- <https://issues.apache.org/jira/browse/SOLR-17418> (web)
- <http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp> (package)

## Sources

- CVE List: [CVE-2024-45217](https://www.cve.org/CVERecord?id=CVE-2024-45217), CVE Terms of Use, modified 2024-10-16
- GitHub Advisory Database: [GHSA-h7w9-c5vx-x7j3](https://github.com/advisories/GHSA-h7w9-c5vx-x7j3), CC-BY-4.0, modified 2025-07-02
- NVD: [CVE-2024-45217](https://nvd.nist.gov/vuln/detail/CVE-2024-45217), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-SOLR-2024-45217](https://osv.dev/vulnerability/BIT-SOLR-2024-45217), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-45217 · Whole record: https://cve.day/CVE-2024-45217.json · Rebuilt by cve.day 2026-11-25T22:58:46.819Z
