Skip to content
Path traversal Disclosed report Beginner CVE-2023-6021

Ray Path Traversal vulnerability

Ray's log API endpoint had a path traversal flaw that let an unauthenticated attacker read arbitrary files on the server. The issue was fixed in version 2.8.1 and later.

ray-project/ray

Originally disclosed on huntr

Critical View original

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

From the GitHub Advisory Database (GHSA-3pww-qvr8-6mhp, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An unauthenticated attacker could read any file on the server, potentially exposing sensitive information.

What the attacker needed

None

The fix

The issue was fixed in version 2.8.1 and later.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Ray is a system for running distributed computing jobs. Its log API endpoint did not properly check the file path supplied by a user, so someone could ask for files outside the intended log directory. This meant an attacker could read sensitive files on the server without logging in.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from ray-project/ray

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.