CVE-2024-52012
CVE-2024-52012 is a medium-severity vulnerability in Apache Solr with a CVSS 3.x base score of 5.4. Its EPSS exploit-prediction score of 47% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-23.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 47% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-0133
- Weakness: CWE-23
- Affected product: Apache Solr
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-52012?
- 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.
- How severe is CVE-2024-52012?
- CVE-2024-52012 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-52012 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 47% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-52012?
- CVE-2024-52012 affects Apache Solr. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-52012?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-52012 have an EU (EUVD) identifier?
- Yes. CVE-2024-52012 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-0133.
- When was CVE-2024-52012 published?
- CVE-2024-52012 was published on 2025-01-27 and last updated on 2026-06-17.
References
- https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd
- http://www.openwall.com/lists/oss-security/2025/01/26/2
Affected products (1)
- cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Solr
- CVE-2024-45216 — Critical (CVSS 9.8): Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is…
- CVE-2021-44548 — Critical (CVSS 9.8): An Improper Input Validation vulnerability in DataImportHandler of Apache Solr allows an attacker to provide a Windows…
- CVE-2021-27905 — Critical (CVSS 9.8): The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also…
- CVE-2020-13957 — Critical (CVSS 9.8): Apache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 prevents some features considered dangerous…
- CVE-2019-12409 — Critical (CVSS 9.8): The 8.1.1 and 8.2.0 releases of Apache Solr contain an insecure setting for the ENABLE_REMOTE_JMX_OPTS configuration…
- CVE-2019-0192 — Critical (CVSS 9.8): In Apache Solr versions 5.0.0 to 5.5.5 and 6.0.0 to 6.6.5, the Config API allows to configure the JMX server via an…
All CVEs affecting Apache Solr →
Other CWE-23 vulnerabilities
- CVE-2026-52813 — Critical (CVSS 10.0): Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences…
- CVE-2026-8326 — Critical (CVSS 10.0): Path traversal vulnerability in Remote Spark (https://www.Remotespark.Com/) SparkView allows reading and writing…
- CVE-2026-33494 — Critical (CVSS 10.0): ORY Oathkeeper is an Identity & Access Proxy (IAP) and Access Control Decision API that authorizes HTTP requests based…
- CVE-2023-3941 — Critical (CVSS 10.0): Relative Path Traversal vulnerability in ZkTeco-based OEM devices allows an attacker to write any file on the system…
- CVE-2024-24578 — Critical (CVSS 10.0): RaspberryMatic is an open-source operating system for HomeMatic internet-of-things devices. RaspberryMatic / OCCU prior…
- CVE-2012-6069 — Critical (CVSS 10.0): The CoDeSys Runtime Toolkit’s file transfer functionality does not perform input validation, which allows an…