CVE-2023-6021: ray_project ray Path Traversal: '\..\filename'
Vulnerability summary
CVE-2023-6021 is a high (CVSS 7.5) Path Traversal: '\..\filename' vulnerability in ray_project ray. EPSS estimates a 37.08% chance of exploitation in the next 30 days, higher than 98.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 16-11-2023PublishedVulnerability first disclosed.
- 27-11-2024Last modifiedVulnerability information updated.
Description
LFI in Ray's log API endpoint allows attackers to read any file on the server without authentication. The issue is fixed in version 2.8.1+. Ray maintainers' response can be found here: https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023
CVSS metrics
3 scores · 3 sources · 2 versions- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
37.08%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 37.08% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-29Path Traversal: '\..\filename'The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
PyPI1 product
- ray< 2.8.1
Ray_project1 product
- rayna
Ray-project1 product
- ray-project/ray≥ unspecified, ≤ latest
3 vendors · 3 products
References
7 links- pypi.org/project/rayPACKAGE