[rhoai-3.3] fix(cve): bump tornado>=6.5.5 and keras>=3.13.2 for CVE mitigation#2131
Conversation
…itigation - RHAIENG-4279/4081: CVE-2026-35536 (Tornado cookie injection) / CVE-2026-31958 (Tornado DoS) - Update tornado constraint from ~=6.5.2 to >=6.5.5 in elyra-deps - Add tornado>=6.5.5 to new dependencies/cve-constraints.txt - RHAIENG-4459: CVE-2026-1462 (Keras arbitrary code execution bypassing safe mode) - Update keras override from ~=3.12.0 to ~=3.13.2 in tensorflow/rocm-tensorflow images - Add keras>=3.13.2 to dependencies/cve-constraints.txt - Add CVE constraints file support to scripts/pylocks_generator.sh (mirrors rhoai-2.25) - Fix root pyproject.toml: module-name must be string not array for uv 0.7.8 compat - Refresh all pylock.toml files: tornado 6.5.4→6.5.5, keras 3.12.0→3.13.2 in TF images Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@mtchoum1 — This PR is from a fork. Recommended: Push your branch to the main repo for full CI: Then open a new PR from that branch. No push access? A maintainer will cherry-pick and test your changes. See CONTRIBUTING.md for details. |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces a new CVE constraints file to enforce minimum dependency versions for packages with known vulnerabilities (tornado >=6.5.5 and keras >=3.13.2), updates the lock generation script to automatically apply these constraints, regenerates multiple dependency lockfiles across Jupyter, RStudio, and runtime environments, and migrates PyTorch wheel URLs to a new CDN. A minor build backend configuration change also converts the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Remediates two sets of CVEs in the rhoai-3.3 release branch:
Tornado CVEs (RHAIENG-4279, RHAIENG-4081)
tornado>=6.5.5— all 18 images updated from 6.5.4 → 6.5.5Keras CVE (RHAIENG-4459)
keras~=3.13.2(was~=3.12.0) — 4 TensorFlow images updated from 3.12.0 → 3.13.2Changes
dependencies/cve-constraints.txt— new file withtornado>=6.5.5andkeras>=3.13.2constraintsscripts/pylocks_generator.sh— added CVE constraints file support (mirrors rhoai-2.25 approach)dependencies/odh-notebooks-meta-runtime-elyra-deps/pyproject.toml—tornado~=6.5.2→>=6.5.5jupyter/tensorflow/,jupyter/rocm/tensorflow/,runtimes/tensorflow/,runtimes/rocm-tensorflow/pyproject.toml —keras~=3.12.0→~=3.13.2pyproject.toml(root) — fixmodule-name = ["ntb"]→"ntb"for uv 0.7.8 compatibilitypylock.tomlfiles regenerated withbash scripts/pylocks_generator.sh public-indexTest plan
gmake refresh-lock-filescompleted successfully (18/18 images)gmake testfails due to pre-existing baseline issues in rhoai-3.3 branch (conftest.py collection errors unrelated to this change — consistent with RHAIENG-4015 NLTK fix PR RHAIENG-4015: bump nltk to 3.9.4 for rhoai-3.3 #2051)Jira
🤖 Generated with Claude Code
Summary by CodeRabbit
tornado(≥6.5.5) andkeras(≥3.13.2)