RAY · CVE-2023-6021 · Package
FIX → 2.8.1
Ray's log API endpoint accepts paths that escape its log directory, so a request can read any file the Ray process can access. No login is needed to make the request.
first public Nov 16, 2023 · 1 public exploit · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run Ray clusters or the Ray dashboard where the log API can be reached by untrusted clients. Ray installs that are not exposed to the network and are used only locally carry much less risk. unknown for whether the dashboard is exposed by default.
Not affected if auth-required, local-only
Who cares ml-infrastructure, python, ray
pip show ray and compare it to 2.8.1.Upgrade to 2.8.1
ray to 2.8.1 or later.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
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.