VDB

CVE-2024-52012

CVE-2024-52012 PUBLISHED CVSS 5.400000095367432 MEDIUM

Apache Solr: Configset upload on Windows allows arbitrary path write-access

Reported by apache · Published January 27, 2025

solr-core is fixed in 9.8.0 (Maven Central)

Relative Path Traversal vulnerability in Apache Solr. Solr instances running on Windows are vulnerable to arbitrary filepath write-access, due to a lack of input-sanitation in the "configset upload" API. Commonly known as a "zipslip", maliciously constructed ZIP files can use relative filepaths to write data to unanticipated parts of the filesystem. This issue affects Apache Solr: from 6.6 through 9.7.0. Users are recommended to upgrade to version 9.8.0, which fixes the issue. Users unable to upgrade may also safely prevent the issue by using Solr's "Rule-Based Authentication Plugin" to restrict access to the configset upload API, so that it can only be accessed by a trusted set of administrators/users.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.solr:solr-coreMaven Central9.8.0
solrBitnami9.8.0
Apache SolrApache Software Foundation9.7.0
solrapache9.8.0
solrBitnami9.8.0

Risk scores

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

Affected products

VendorProductVersions
Apache Software FoundationApache Solr6.6
Mavenorg.apache.solr:solr-core6.6
Apache Software FoundationApache Solr6.6
chainguardsolr*
wolfisolr*

Timeline

  • Jan 26, 2025 PoC Published (8 in total, the first dated here)
  • Jan 26, 2025 CVE Published
  • Jan 28, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 6, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Feb 6, 2025 CVE Updated
  • Jun 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-52012
vulnetix vdb fixes CVE-2024-52012

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-2024-52012/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›