Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.solr/solr
  4. ›
  5. CVE-2024-45217

CVE-2024-45217: Insecure Default Initialization of Resource vulnerability in Apache Solr

October 16, 2024

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.

References

  • github.com/advisories/GHSA-h7w9-c5vx-x7j3
  • issues.apache.org/jira/browse/SOLR-17418
  • nvd.nist.gov/vuln/detail/CVE-2024-45217
  • solr.apache.org/security.html

Code Behaviors & Features

Detect and mitigate CVE-2024-45217 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.6.0 before 8.11.4, all versions starting from 9.0.0 before 9.7.0

Fixed versions

  • 8.11.4
  • 9.7.0

Solution

Upgrade to versions 8.11.4, 9.7.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default

Source file

maven/org.apache.solr/solr/CVE-2024-45217.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.