Security Resilience

CVE-2023-6021

Path Traversal in Ray Project Ray

Public PoCPath Traversal
Published
16 November 2023
Modified
21 November 2024
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.37 99th percentile
Risk Priority 83 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-6021 is a high-severity Path Traversal: '\..\filename' (CWE-29) vulnerability in Ray Project Ray. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2023-6021 is a local file inclusion vulnerability in the log API endpoint of Ray, an open-source distributed computing framework. The flaw stems from improper input validation that permits path traversal, allowing unauthenticated remote access to arbitrary files on the underlying server. It is tracked under CWE-22 and CWE-29 and carries a CVSS 3.1 base score of 7.5 reflecting network attack vector, low complexity, and high confidentiality impact without any required credentials.

An attacker with network access to the Ray log endpoint can supply crafted requests to retrieve sensitive files such as configuration data, credentials, or source code. No authentication or user interaction is needed, enabling straightforward information disclosure that could facilitate further compromise of the host or connected systems.

The maintainers state that the issue is resolved in Ray version 2.8.1 and later; their detailed response and guidance are published at the referenced Anyscale advisory. The associated EPSS score stands at 0.8732 with an identical recorded peak, indicating sustained high exploitation probability since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-10732Shared CWE-22, CWE-29
CVE-2023-1177Shared CWE-22, CWE-29
CVE-2024-51534Shared CWE-22, CWE-29
CVE-2023-0104Shared CWE-22, CWE-29
CVE-2024-21542Shared CWE-22, CWE-29
CVE-2023-6023Shared CWE-22, CWE-29
CVE-2024-2928Shared CWE-22, CWE-29
CVE-2024-13059Shared CWE-22, CWE-29
CVE-2025-15036Shared CWE-22, CWE-29
CVE-2024-2914Shared CWE-22, CWE-29

Affected Assets

ray project
ray
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require input validation and path sanitization that block this traversal vector.

PR.AA-05 none match
blocks

PR.AA-05 defines and reviews access policies but does not address code-level pathname neutralization, so neither direction prevents CWE-22.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References