{"schemaVersion":3,"id":"CVE-2024-52012","aliases":["CGA-cjmx-6vpc-wx86","CGA-hw9m-r4h8-5w9p","CGA-jr2v-92q3-gwj5","CGA-r366-8wq9-gx2v","CGA-65cj-pr4v-hq9j","CGA-9ccp-4mxq-h24x","CGA-cvrm-pjqp-g52q","CGA-cwx5-34vx-x6xm","CGA-f23c-fgp2-9gr4","CGA-m3p2-hwfq-jm6h","GHSA-4p5m-gvpf-f3x5","BIT-solr-2024-52012"],"status":"published","duplicateOf":null,"title":null,"description":"Relative Path Traversal vulnerability in Apache Solr.\n\nSolr 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.\nThis issue affects Apache Solr: from 6.6 through 9.7.0.\n\nUsers 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.","dates":{"published":"2025-01-27T08:54:42.907Z","modified":"2025-02-06T16:11:37.353Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.44993,"percentile":0.98767,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.44993},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.47207,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.47207,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.47207,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.44993,"percentile":0.98767}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.44993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.44993,"percentile":0.98767}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"}],"affected":[{"vendor":"apache software foundation","product":"apache solr","name":"Apache Solr","label":"apache solr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.6, ≤ 9.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.6, ≤ 9.7.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_solr"},{"vendor":"apache","product":"solr","name":"Solr","label":"solr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.6.0, < 9.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.6.0, < 9.8.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"solr","label":"Apache Solr","category":"server-app"}},"hubHref":"/vendor/apache/solr"},{"vendor":"chainguard","product":"hadoop-fips-3.3.6","name":"hadoop-fips-3.3.6","label":"hadoop-fips-3.3.6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hadoop-fips-3.3.6","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hadoop-fips-3.4.2","name":"hadoop-fips-3.4.2","label":"hadoop-fips-3.4.2","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hadoop-fips-3.4.2","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hadoop-fips-3.5","name":"hadoop-fips-3.5","label":"hadoop-fips-3.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hadoop-fips-3.5","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"solr","name":"solr","label":"solr","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"solr-oci-compat","name":"solr-oci-compat","label":"solr-oci-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/solr-oci-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"solr","name":"solr","label":"solr","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/solr","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"solr-oci-compat","name":"solr-oci-compat","label":"solr-oci-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/solr-oci-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.solr","product":"solr-core","name":"org.apache.solr:solr-core","label":"solr-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.solr/solr-core","purlType":"maven","versions":[{"text":"≥ 6.6, < 9.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.6, < 9.8.0","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd","label":"lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd","hostname":"lists.apache.org","tags":["Vendor Advisory","Advisory","WEB","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2025/01/26/2","label":"www.openwall.com/lists/oss-security/2025/01/26/2","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52012.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52012.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52012","label":"nvd.nist.gov/vuln/detail/CVE-2024-52012","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396","label":"github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/solr","label":"github.com/apache/solr","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://issues.apache.org/jira/browse/SOLR-17543","label":"issues.apache.org/jira/browse/SOLR-17543","hostname":"issues.apache.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-M5X2-C7H8-P8H2"]},"timeline":[{"kind":"published","date":"2025-01-27T08:54:42.907Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-06T16:11:37.353Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:54:53.042Z","stale":false,"partial":false}}