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

CVE-2024-52012: Apache Solr Relative Path Traversal vulnerability

January 27, 2025 (updated October 31, 2025)

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.

References

  • github.com/advisories/GHSA-4p5m-gvpf-f3x5
  • github.com/apache/solr
  • github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396
  • issues.apache.org/jira/browse/SOLR-17543
  • lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd
  • nvd.nist.gov/vuln/detail/CVE-2024-52012

Code Behaviors & Features

Detect and mitigate CVE-2024-52012 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 before 9.8.0

Fixed versions

  • 9.8.0

Solution

Upgrade to version 9.8.0 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

maven/org.apache.solr/solr-core/CVE-2024-52012.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 11 Nov 2025 00:20:29 +0000.