Documented Incident · INC-2023-6019 · Critical severity
Ray Distributed Framework CPU Profiler Command Injection RCE
CVE-2023-6019 (published November 16, 2023, disclosed by Protect AI / Bishop Fox) exposed a critical OS command injection flaw in Ray's dashboard CPU profiling endpoint (`cpu_profile`). Unsanitized query parameters (`format` / `native`) were interpolated directly into shell command invocations on the Ray head node without authentication. Any attacker reaching an exposed Ray dashboard achieved immediate remote code execution across the entire GPU training cluster, leading to stolen OpenAI/AWS keys and cryptojacking. Anyscale patched command sanitization in Ray v2.8.1 and emphasized never exposing Ray dashboards publicly.
Incident dossier metadata
- Case ID
INC-2023-6019- Classification
- Incident
- Date
- Severity
- Critical
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Exposed Infrastructure
- System type
- Distributed AI Training & Serving Clusters
- CVE / reference
CVE-2023-6019- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-6019
Defensive takeaway
Bind Ray dashboard ports strictly to private authenticated networks and pass profiler arguments as argv arrays without shell interpolation.
Mapped AI security techniques
- Active Scanning: Scan for Exposed AI Infrastructure AML.T0006.002
- Exploit Public-Facing Application AML.T0049
- Command and Scripting Interpreter AML.T0050
- Compromise Infrastructure AML.T0128
- Misconfigured or Publicly Exposed AI Services AML.T0132
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- Control Access to AI Models and Data in Production AML.M0019
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2023-6019: Ray Dashboard CPU Profiler Command Injection · NIST National Vulnerability Database (NVD) ·