Patchfirst
CVE-2023-6019 Public exploit Critical · 9.8 EPSS 74.6%

Ray Command Injection in cpu_profile Parameter

ray-project · ray-project/ray

Summary

A command injection flaw in the cpu_profile URL parameter of the Ray dashboard, part of the ray-project/ray product, lets an attacker run OS commands on the host running the dashboard. The attack is remote and requires no authentication, no user interaction, and only network access to the dashboard.

Official description · CVE.org

A command injection existed in Ray's cpu_profile URL parameter allowing attackers to execute os commands on the system running the ray dashboard remotely 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

Breakdown
36.7 / 100
Exploited
Not confirmed
Reports
1
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

Public exploit code (Metasploit) was available 1 day before disclosure.

  1. Public exploit codeMetasploit1 day before
  2. Disclosedday 0

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

remote unauthenticated exploit via dashboard URL parameter

allowing attackers to execute os commands on the system running the ray dashboard remotely without authentication
From the official description (CVE.org) Original (opens in a new tab) ↗

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

OS command execution on host

allowing attackers to execute os commands on the system
From the official description (CVE.org) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2023-6019 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: ray.

Upgrade to 2.52.0 or later

Fixes this CVE and 4 other known vulnerabilities in this package (CVE-2023-48022, CVE-2023-6020, +2).

pippip install "ray>=2.52.0"

First fixed in 2.8.1 for CVE-2023-6019.

Affected versions

If you runUpgrade to
All versions before 2.8.12.52.0first fix for this CVE: 2.8.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Named in 1 threat report
1 reportoligo.security

Reports are matched by finding the exact id CVE-2023-6019 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close