WaratekVRT Sign in

CVE-2024-52012 Apache Solr

Affected softwareApache Solr
Severity5.4 Medium CVSS 3.1
Fixed in9.8.0
WeaknessRelative path traversal (CWE-23)
Published27 Jan 2025
Updated17 Jun 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 47% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-23: Relative Path Traversal.

How to mitigate CVE-2024-52012

Upgrade Apache Solr to 9.8.0 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Communications Applications / Core (Apache Solr) (6.0.5-6.1.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Applications Core (Apache Solr) 6.0.5-6.1.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.solr:solr-core 6.6 9.8.0 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache solr generic ≥ 6.6.0 and < 9.8.0
osv org.apache.solr solr-core generic ≥ 6.6 and < 9.8.0

References

URLTags
https://github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396 WEB
https://github.com/apache/solr PACKAGE
https://issues.apache.org/jira/browse/SOLR-17543 WEB
https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd WEB
http://www.openwall.com/lists/oss-security/2025/01/26/2 WEB

Timeline

Published2025-01-27By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.