High

Insecure Default Initialization of Resource vulnerability in Apache Solr

  • Disclosed: 16.10.2024
  • Updated: 11.10.2026 12:21

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.solr:solr >= 6.6.0, < 8.11.4, >= 9.0.0, < 9.7.0 8.11.4, 9.7.0

References

CVSS score 8.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-1188
Platform
Java / Kotlin (Maven)
Package
org.apache.solr:solr
Disclosed
16.10.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h7w9-c5vx-x7j3 - CC BY 4.0

Vulnerability history: org.apache.solr:solr

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2022 10.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1
  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 2
  4. 2025: 0
  5. 2026: 0
  1. Insecure Default Initialization of Resource vulnerability in Apache Solr this entry
    High · 8.1 CVE-2024-45217 >= 6.6.0, < 8.11.4, >= 9.0.0, < 9.7.0 8.11.4, 9.7.0
  2. Critical · 9.8 CVE-2024-45216 >= 5.3.0, < 8.11.4, >= 9.0.0, < 9.7.0 8.11.4, 9.7.0
  3. Medium · 6.1 CVE-2015-8796 < 5.3 5.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.