ray
cpe:2.3:a:ray_project:ray:*:*:*:*:*:*:*
- < 2.52.0
A critical remote code execution vulnerability has been identified in Ray, an AI compute engine, prior to version 2.52.0. This vulnerability affects developers using Ray as a development tool and is exploitable through the Firefox and Safari browsers. The issue arises from an inadequate defense against browser-based attacks, relying on the User-Agent header, which can be easily manipulated. When combined with a DNS rebinding attack, this vulnerability can be exploited against a developer running Ray who unknowingly visits a malicious website or encounters a malicious advertisement. The vulnerability has been patched in Ray version 2.52.0.
Exploitation of this vulnerability allows for arbitrary code execution on the developer's machine. Additionally, it can be used to target network-adjacent Ray instances by exploiting the developer's browser as an intermediary.
To reproduce this vulnerability, first launch Ray and ensure the dashboard is running. Then, use a tool like NCCGroup's Singularity to perform a DNS rebinding attack while the Ray dashboard is open in Firefox or Safari. Once the attack succeeds, the Ray Jobs API can be invoked to execute embedded shell code, such as opening the Calculator application.
Users are advised to update Ray to version 2.52.0 or higher. This version includes a patch for the vulnerability and introduces a disabled-by-default authentication feature that can enhance security.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.