CVE-2023-6021
Ray Log File Local File Include
Record summary
CVE-2023-6021 has a selected CVSS score of 7.5 (high); EIP currently links 1 Nuclei template.
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
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Nov 27, 2024 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
ray-project/rayBrowse ray-project / ray-project/rayDefault status: unaffected | CVE List | Through latest | affected |
| GitHub Advisory | Before 2.8.1 · Fixed in 2.8.1 | affected |
Nuclei templates
1ProjectDiscoveryHIGHRay API - Local File InclusionCVSS 7.5
LFI in Ray's log API endpoint allows attackers to read any file on the server without authentication.
Impact
Unauthenticated attackers can read any file on the server via the log API endpoint, potentially accessing sensitive configuration files, credentials, and application data.
Remediation
Update Ray to a patched version that properly validates file paths in the logs endpoint.
Source: ProjectDiscovery