Skip to content

fix(security): bump deps for CVE remediation (June 2026)#2663

Open
kajalj22 wants to merge 12 commits into
mainfrom
kajalj/cve-bumps-june-2026
Open

fix(security): bump deps for CVE remediation (June 2026)#2663
kajalj22 wants to merge 12 commits into
mainfrom
kajalj/cve-bumps-june-2026

Conversation

@kajalj22
Copy link
Copy Markdown
Contributor

@kajalj22 kajalj22 commented Jun 2, 2026

Summary

Addresses multiple CVEs flagged by the DT nSpect container scan of nvcr.io/nvidian/nemo-rl:nightly.

Not addressed (no fix available)

Test plan

  • CI passes with sglang extra (uv sync --extra sglang)
  • CI passes with mcore/automodel/vllm extras (nvrx v0.6.0 compat)
  • Nightly container build succeeds with uv 0.11.18
  • Verify langchain-core is no longer in resolved dependencies

🤖 Generated with Claude Code

kajalj22 and others added 5 commits June 1, 2026 19:48
Addresses 3 Critical CVEs in sglang 0.5.11:
- GHSA-qwrp-wghp-94q2: unauthenticated path traversal in multimodal generation
- GHSA-gwv6-pq6m-p3rq: untrusted pickle deserialization on ROUTER socket
- GHSA-36m8-w8qf-g76p: unauthenticated RCE via --enable-custom-logit-processor

Also bumps sglang-kernel 0.4.2 → 0.4.3 to stay in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Upgrades uv in both Dockerfiles to address:
- GHSA-82j2-j2ch-gfr8 (High): rustls-webpki DoS via panic on
  malformed CRL BIT STRING (0.103.10 → 0.103.13)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Addresses:
- GHSA-qh6h-p6c9-ff54 (High): path traversal in legacy load_prompt
  functions in langchain-core <1.2.22

langchain-core is a transitive dep only (nvidia-resiliency-ext →
logsage → langchain-core); NeMo-RL does not import it directly.

Updates the logsage dependency-metadata override to allow the
langchain 1.x ecosystem (langchain >=1.2.0, langchain-core >=1.2.22,
langchain-nvidia-ai-endpoints >=1.0.0), and adds a global
override-dependency for langchain-core>=1.2.22.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Upgrades from pre-release commit 15a8515 (2026-04-07) to the stable
v0.6.0 tag (2026-05-14, +120 commits). Also switches the source
specifier from rev to tag for clearer version tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Reflects all dependency bumps in this branch. Notable changes:
- sglang 0.5.11 → 0.5.12.post1, sglang-kernel 0.4.2 → 0.4.2.post2
- nvidia-resiliency-ext pre-release → v0.6.0
- logsage + langchain ecosystem removed (nvrx v0.6.0 dropped logsage)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Jun 2, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@kajalj22
Copy link
Copy Markdown
Contributor Author

kajalj22 commented Jun 2, 2026

/ok to test 69da070

@kajalj22 kajalj22 added the CI:L1 Run doctests, unit tests, and functional tests label Jun 3, 2026
kajalj22 and others added 2 commits June 3, 2026 15:44
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
@kajalj22
Copy link
Copy Markdown
Contributor Author

kajalj22 commented Jun 3, 2026

/ok to test e9979d9

kajalj22 and others added 4 commits June 4, 2026 19:45
# Conflicts:
#	pyproject.toml
#	uv.lock
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Addresses:
- GHSA-897w-fcg9-f6xj (High): arbitrary file write via NTFS-hostile
  tree entries on Windows
- GHSA-9277-mp7x-85jf (High): command injection via merge driver path

dulwich is a transitive dependency; fix applied via constraint-dependencies.
Resolves to v1.2.6.

diffusers (GHSA-7wx4-6vff-v64p, GHSA-98h9-4798-4q5v) cannot be bumped to
0.38.0: it requires safetensors>=0.8.0rc0 which has no stable release yet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Kajal Jain <kajalj@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Jun 7, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@kajalj22
Copy link
Copy Markdown
Contributor Author

kajalj22 commented Jun 7, 2026

/ok to test 752b667

@kajalj22 kajalj22 marked this pull request as ready for review June 7, 2026 22:37
@kajalj22 kajalj22 requested a review from a team as a code owner June 7, 2026 22:37
Copy link
Copy Markdown
Contributor

@chtruong814 chtruong814 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just had a question. If we still need to do that, that's fine. But I think nvrx has a 0.6.0 pypi package that would get brought in?

Comment thread pyproject.toml
@terrykong terrykong enabled auto-merge (squash) June 8, 2026 19:37
@kajalj22
Copy link
Copy Markdown
Contributor Author

kajalj22 commented Jun 8, 2026

/ok to test 55cec17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:L1 Run doctests, unit tests, and functional tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants