Documented Incident · INC-2023-6021 · High severity
Ray Log API Endpoint Path Traversal Local File Inclusion
CVE-2023-6021 (published November 16, 2023) revealed a local file inclusion vulnerability in Ray's `/api/v0/logs/file` endpoint caused by insufficient validation of the `filename` query parameter. Unauthenticated attackers reaching the dashboard API could traverse outside the Ray log directory to dump arbitrary server files, exposing worker secrets, configuration manifests, and proprietary ML training artifacts. Disclosed alongside CVE-2023-6019 and CVE-2023-6020, it underscored the danger of unauthenticated ML cluster control planes. Ray patched log path containment in v2.8.1.
Incident dossier metadata
- Case ID
INC-2023-6021- Classification
- Incident
- Date
- Severity
- High
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Data Exfiltration
- System type
- Distributed AI Training & Serving Clusters
- CVE / reference
CVE-2023-6021- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-6021
Defensive takeaway
Enforce canonical root checks on ML cluster log APIs and require mTLS or SSO authentication for all training cluster dashboards.
Mapped AI security techniques
- Data from Local System AML.T0037
- Exploit Public-Facing Application AML.T0049
- Unsecured Credentials AML.T0055
- Misconfigured or Publicly Exposed AI Services AML.T0132
Mapped defensive controls
- Control Access to AI Models and Data at Rest AML.M0005
- Vulnerability Scanning AML.M0016
- Control Access to AI Models and Data in Production AML.M0019
Source citation records
- NVD Record CVE-2023-6021: Ray Log API Local File Inclusion · NIST National Vulnerability Database (NVD) ·