CVE-2024-45217
HIGH 8.1CVSS 3.1Insecure Default Initialization of Resource vulnerability in Apache Solr
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.
- Published
- 16 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-1188
- Also known as
- BIT-solr-2024-45217GHSA-h7w9-c5vx-x7j3
- Sources
- NVDJSONOSV GHSA-h7w9-c5vx-x7j3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 6.6.0, < 8.11.4 | 8.11.4 |
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.7.0 | 9.7.0 |
| OSV | Maven | org.apache.solr:solr | >= 6.6.0, < 8.11.4 | 8.11.4 |
| OSV | Maven | org.apache.solr:solr | >= 9.0.0, < 9.7.0 | 9.7.0 |
References
- https://solr.apache.org/security.html#cve-2024-45217-apache-solr-configsets-created-during-a-backup-restore-command-are-trusted-implicitly · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2024/10/15/9 · Mailing List, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-45217 · ADVISORY
- https://issues.apache.org/jira/browse/SOLR-17418 · WEB
- http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/webapp · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 16 Oct 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Oct 2024)