CVE-2025-24814
Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files
Reported by apache · Published January 27, 2025
solr-core is fixed in 9.8.0 (Maven Central)
Core creation allows users to replace "trusted" configset files with arbitrary configuration Solr instances that (1) use the "FileSystemConfigSetService" component (the default in "standalone" or "user-managed" mode), and (2) are running without authentication and authorization are vulnerable to a sort of privilege escalation wherein individual "trusted" configset files can be ignored in favor of potentially-untrusted replacements available elsewhere on the filesystem. These replacement config files are treated as "trusted" and can use "<lib>" tags to add to Solr's classpath, which an attacker might use to load malicious code as a searchComponent or other plugin. This issue affects all Apache Solr versions up through Solr 9.7. Users can protect against the vulnerability by enabling authentication and authorization on their Solr clusters or switching to SolrCloud (and away from "FileSystemConfigSetService"). Users are also recommended to upgrade to Solr 9.8.0, which mitigates this issue by disabling use of "<lib>" tags by default.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.solr:solr-core | Maven Central | 9.8.0 |
| solr | Bitnami | 9.8.0 |
| solr | apache | 9.8.0 |
| solr | Bitnami | 9.8.0 |
| Apache Solr | Apache Software Foundation | 9.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Solr | 0 |
| Maven | org.apache.solr:solr-core | 0 |
| wolfi | solr | * |
| chainguard | solr | * |
| Apache Software Foundation | Apache Solr | 0 |
Timeline
- Jan 26, 2025 PoC Published (7 in total, the first dated here)
- Jan 26, 2025 CVE Published
- Jan 28, 2025 EPSS Score (30 in total, the first dated here)
- Feb 15, 2025 CVE Updated
- Mar 13, 2025 Coalition ESS Score (11 in total, the first dated here)
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24814
vulnetix vdb fixes CVE-2025-24814
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24814/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-24814 advisory
- https://github.com/advisories/GHSA-68r2-fwcg-qpm8 advisory
- https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525 patch
- https://github.com/apache/solr url
- https://issues.apache.org/jira/browse/SOLR-16781 url
- https://security.netapp.com/advisory/ntap-20250214-0002 advisory
- http://www.openwall.com/lists/oss-security/2025/01/26/1 url
- https://security.netapp.com/advisory/ntap-20250214-0002/ url