Loading HuntDB...

GHSA-h7w9-c5vx-x7j3

GitHub Security Advisory

Insecure Default Initialization of Resource vulnerability in Apache Solr

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

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 Packages

Maven org.apache.solr:solr
Affected versions: 6.6.0 (fixed in 8.11.4)
Maven org.apache.solr:solr
Affected versions: 9.0.0 (fixed in 9.7.0)

Related CVEs

Key Information

GHSA ID
GHSA-h7w9-c5vx-x7j3
Published
October 16, 2024 9:30 AM
Last Modified
July 2, 2025 2:20 PM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.apache.solr:solr
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 28, 2025 6:37 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.