Repository navigation
fix: bump ray to 2.58.0 and purge bundled ray_dist.jar for CVE remediation - #4415
Merged
Merged
Conversation
…ation - ray[default] >=2.55.1 -> >=2.58.0, matching the version validated in NVIDIA-NeMo/Gym#3737. Note: this version bump alone does not fix the httpcore5 CVE bundled in ray's Java worker jar (GHSA-hf6x-8p5f-cgmf) -- no released ray version has that fix yet. - docker/Dockerfile: delete ray_dist.jar from every venv and the default uv cache instead. NeMo-RL never uses Ray's Java cross-language worker (confirmed: no java_worker/cross_language usage anywhere in nemo_rl/ or the vendored submodules), and removing the jar doesn't affect ray.init(), remote tasks, actors, or ray.serve -- verified via the same fix applied in NVIDIA-NeMo/Gym#3779 and #3826. - uv.lock regenerated via `uv lock --upgrade-package ray`. The diff is large (~3800 lines) but every line besides ray's own version/hash is internal extras-conflict-marker renumbering, not an actual dependency change -- confirmed by diffing just the `version = ` lines, which shows only ray 2.56.1 -> 2.58.0. Signed-off-by: Kajal Jain <[email protected]>
Contributor
Author
|
/ok to test 3c46bb8 |
Signed-off-by: Kajal Jain <[email protected]>
Contributor
Author
|
/ok to test ccad1da |
Contributor
Author
|
/ok to test d9cadd3 |
kajalj22
force-pushed
the
build/bump-ray-2.58.0
branch
from
October 2, 2026 06:15
d9cadd3 to
2131815
Compare
Contributor
Author
|
/ok to test 2131815 |
kajalj22
marked this pull request as ready for review
October 2, 2026 06:16
kajalj22
enabled auto-merge (squash)
October 2, 2026 06:16
ko3n1g
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
CVE remediation, same fix pattern as NVIDIA-NeMo/Gym#3737/#3779/#3826:
ray[default]>=2.55.1 -> >=2.58.0. Note: the version bump alone does not fix thehttpcore5CVE bundled in ray's Java worker jar (GHSA-hf6x-8p5f-cgmf) — no released ray version has that fix yet.docker/Dockerfile: deleteray_dist.jarfrom every venv and the default uv cache instead. NeMo-RL never uses Ray's Java cross-language worker (confirmed: nojava_worker/cross_languageusage anywhere innemo_rl/or the vendored submodules), and removing the jar doesn't affectray.init(), remote tasks, actors, orray.serve— verified via the same fix applied in Gym.uv.lockregenerated viauv lock --upgrade-package ray. The diff is large (~3800 lines) but every line besides ray's own version/hash is internal extras-conflict-marker renumbering, not an actual dependency change — confirmed by diffing just theversion =lines, which shows onlyray 2.56.1 -> 2.58.0.Base branch is
r0.8.0per request — intended to be cherry-picked tomainseparately.Validation
java_worker/cross_language/.jarreferences: zero matches)uv run ruff/tests locally — this repo's lockfile only supports Linux (x86_64/aarch64) environments, and I'm on macOS; relying on CIChecklist