Home
» GitHub Advisories
» GHSA-387v-84cv-9qmc
Description
When using the Index Replication feature, Apache Solr nodes can pull index files from a master/leader node using an HTTP API which accepts a file name. However, Solr before 5.5.4 and 6.x before 6.4.1 did not validate the file name, hence it was possible to craft a special request involving path traversal, leaving any file readable to the Solr server process exposed. Solr servers protected and restricted by firewall rules and/or authentication would not be at risk since only trusted clients and users would gain direct HTTP access.
Basic information
Type
reviewed
Severity
high
Advisory on GitHub
Open advisory ↗
Repository advisory
—
Source code
Not specified
Published (advisory)
2018-10-18 16:40:43 UTC
Updated
2023-01-11 05:04:14 UTC
GitHub reviewed
2020-06-16 20:54:26 UTC
EPSS Score
Score
Percentile
16.45%
94.75%
CVSS Scores
Base score
Version
Severity
Vector
7.5
3.0
—
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
CWEs
CWE id
Name
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected packages (2)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
maven
org.apache.solr:solr-core
< 5.5.4
5.5.4
—
maven
org.apache.solr:solr-core
>= 6.0.0, < 6.4.1
6.4.1
—
cvelogic
Threat Intelligence