fix(cve): CVE-2026-30922 - update pyasn1 to 0.6.3 [rhoai-2.25]#2140
Conversation
Update pyasn1 from 0.6.1 to 0.6.3 across all 13 workbench and pipeline runtime images to fix Denial of Service via Unbounded Recursion vulnerability (GHSA-jr27-m4p2-rc6r). Changes: - Updated pyasn1 in all 13 pylock.toml files: 0.6.1 → 0.6.3 - Added pyasn1>=0.6.3 constraint to dependencies/cve-constraints.txt Affected images fixed: - jupyter/{trustyai,datascience,pytorch,tensorflow,rocm/*,pytorch+llmcompressor} - runtimes/{datascience,pytorch,tensorflow,rocm-*} - codeserver/datascience Resolves: RHOAIENG-54242, RHOAIENG-54241, RHOAIENG-54240, RHOAIENG-54239, RHOAIENG-54238, RHOAIENG-54237, RHOAIENG-54233, RHOAIENG-54232, RHOAIENG-54231, RHOAIENG-54230, RHOAIENG-54229, RHOAIENG-54227, RHOAIENG-54225 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@swattamw2024 — 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR updates the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
[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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@dependencies/cve-constraints.txt`:
- Line 14: Update the issue key in the dependencies/cve-constraints.txt entry
that currently reads "RHAIENG-3841" to use the project’s correct prefix by
changing it to "RHOAIENG-3841" (i.e., replace the RHAIENG- prefix with
RHOAIENG-), so the CVE comment line referencing CVE-2026-30922 matches the
repository's RHOAIENG-* tracking convention.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 11906daf-808c-48f8-9996-1ffa87768556
📒 Files selected for processing (14)
codeserver/ubi9-python-3.12/pylock.tomldependencies/cve-constraints.txtjupyter/datascience/ubi9-python-3.12/pylock.tomljupyter/pytorch+llmcompressor/ubi9-python-3.12/pylock.tomljupyter/pytorch/ubi9-python-3.12/pylock.tomljupyter/rocm/pytorch/ubi9-python-3.12/pylock.tomljupyter/rocm/tensorflow/ubi9-python-3.12/pylock.tomljupyter/tensorflow/ubi9-python-3.12/pylock.tomljupyter/trustyai/ubi9-python-3.12/pylock.tomlruntimes/datascience/ubi9-python-3.12/pylock.tomlruntimes/pytorch/ubi9-python-3.12/pylock.tomlruntimes/rocm-pytorch/ubi9-python-3.12/pylock.tomlruntimes/rocm-tensorflow/ubi9-python-3.12/pylock.tomlruntimes/tensorflow/ubi9-python-3.12/pylock.toml
👮 Files not reviewed due to content moderation or server errors (1)
- codeserver/ubi9-python-3.12/pylock.toml
|
/kfbuild\s+(all|odh-base-image-rocm-py312-ubi9|base-images/rocm/6.4/ubi9-python-3.12 |
|
/build-konflux |
|
@daniellutz could you please review |
CVE Details
Fix Summary
Updated pyasn1 from 0.6.1 to 0.6.3 across all 13 workbench and pipeline runtime images in the rhoai-2.25 branch. pyasn1 is a pure-Python ASN.1 library used for cryptographic operations and X.509 certificate parsing.
Changes
dependencies/cve-constraints.txtpyasn1>=0.6.3(with RHOAIENG-54242 and CVE reference)13
pylock.tomlfiles (all workbench + pipeline runtime images):0.6.1→0.6.3a80184d120f0864a52a073acc6fc642847d0be408e7c7252f31390c0f4eadcde697a8ecd6d98891189184ca1fa05d1bb00e2f84b5977c481452050549c8a72cfFiles updated:
jupyter/trustyai/ubi9-python-3.12/pylock.tomljupyter/datascience/ubi9-python-3.12/pylock.tomljupyter/pytorch/ubi9-python-3.12/pylock.tomljupyter/tensorflow/ubi9-python-3.12/pylock.tomljupyter/rocm/pytorch/ubi9-python-3.12/pylock.tomljupyter/rocm/tensorflow/ubi9-python-3.12/pylock.tomljupyter/pytorch+llmcompressor/ubi9-python-3.12/pylock.tomlruntimes/datascience/ubi9-python-3.12/pylock.tomlruntimes/pytorch/ubi9-python-3.12/pylock.tomlruntimes/tensorflow/ubi9-python-3.12/pylock.tomlruntimes/rocm-pytorch/ubi9-python-3.12/pylock.tomlruntimes/rocm-tensorflow/ubi9-python-3.12/pylock.tomlcodeserver/ubi9-python-3.12/pylock.tomlTest Results
Breaking Changes
None. pyasn1 0.6.3 is backward-compatible with 0.6.1.
Verification Steps
pip show pyasn1inside built container to confirm 0.6.3pip-auditto verify CVE-2026-30922 no longer flaggedRisk Assessment
Low — pure-Python package, single universal wheel, minor patch release, all 13 images updated consistently.
Jira References
RHOAIENG-54242
RHOAIENG-54241
RHOAIENG-54240
RHOAIENG-54239
RHOAIENG-54238
RHOAIENG-54237
RHOAIENG-54233
RHOAIENG-54232
RHOAIENG-54231
RHOAIENG-54230
RHOAIENG-54229
RHOAIENG-54227
RHOAIENG-54225
Summary by CodeRabbit