← Back to Pull requests

[RHOAI 3.5] CVE-2026-57845: bump datasets 5.0.1 -> 5.2.0 in universal training images #1499

Merged
redhat-chai-bot merged 6 files (44 lines) on Nov 23, 2026 13:51 UTC
View on GitHub
redhat-chai-bot redhat-chai-bot commented on Nov 13, 2026 10:13 UTC
Author

Summary

Bumps datasets from 5.0.1 to 5.2.0 across all 3 RHOAI 3.5 universal training image variants to remediate CVE-2026-57845 (arbitrary code execution via insecure pickle deserialization in the deprecated pandas builder, affecting datasets ≤ 5.1.0).

CVE Details

  • CVE: CVE-2026-57845

  • Severity: Important (CVSS 7.8)

  • Fix: datasets ≥ 5.2.0

  • AIPCC index: datasets 5.2.0 confirmed available on all 3 variant indices (cpu-ubi9, cuda13.0-ubi9, rocm7.14-ubi9)
  • Image variants updated

    | Jira Ticket | Image Variant | Directory |
    |------------|---------------|-----------|
    | RHAI-15230 | odh-th-torch-cpu-py312-rhel9 | images/universal/training/th-torch-cpu-py312 |
    | RHAI-15231 | odh-th-torch-cuda-py312-rhel9 | images/universal/training/th-torch-cuda-py312 |
    | RHAI-15232 | odh-th-torch-rocm-py312-rhel9 | images/universal/training/th-torch-rocm-py312 |

    Changes per variant

    1. pyproject.toml: Updated datasets==5.0.1 → datasets==5.2.0 in dependencies
    2. pyproject.toml: Added datasets>=5.2.0 to constraint-dependencies
    3. requirements.txt: Regenerated via uv pip compile using each variant's AIPCC index URL

    Verification

  • make verify-universal-requirements passes for all 3 variants

  • Each requirements.txt preserves the correct --index-url for its variant

  • datasets==5.2.0 confirmed in each regenerated requirements.txt
  • Companion PR

    Runtime image variants were already fixed in PR #1474 (merged 2026-11-11).

    ---
    AI-generated. Review for accuracy.

    Automated by scheduled task cve_worker (instructions: config/groups/ai-platform/personas/kubeflow_trainer/scheduled_tasks/kubeflow_trainer_cve_worker.md, run: 54c4b8ffb0d8479faf3f2bca183c78a2, commit: 93dc706c5)

    Chai persona: Kubeflow Trainer

    Diff: 44 lines (+20 / -24) across 6 files Reviewer: robert-bell Review duration: 14618m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.33) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.33 · 44 lines diff across 6 files
    0.33
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.90 · 5 substantive comment(s)
    0.90
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    89%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.228
    Real PR Conversation Timeline
    8 items
    coderabbitai[bot] coderabbitai[bot] commented on Nov 13, 2026 10:13 UTC
    Bot

    <!-- coderabbit-ai-generated:v1 -->

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- This is an auto-generated comment: skip review by coderabbit.ai -->

    [!IMPORTANT]

    ## Review skipped

    > Auto reviews are disabled on base/target branches other than the default branch.

    >

    > Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

    > <details>

    <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>

    <dl>

    <dd>

    <br>

    > - Source mode: Auto

    - Repository: Unavailable

    - Branch: Unavailable

    - File: No configuration file from this repository applied

    - Commit: Unavailable

    - Layers: Organization UI

    - Review profile: CHILL

    - Plan: Enterprise

    - Run ID: 211ae41a-7af2-4037-851d-ed630c2a5815

    > </dd>

    </dl>

    </details>

    > You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

    > Use the checkbox below for a quick retry:

    - [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> Trigger review

    <!-- end of auto-generated comment: skip review by coderabbit.ai -->

    sutaakar sutaakar commented on Nov 13, 2026 14:46 UTC
    Contributor

    /retest

    sutaakar sutaakar commented on Nov 13, 2026 14:48 UTC
    Contributor

    /test

    sutaakar sutaakar commented on Nov 13, 2026 14:49 UTC
    Contributor

    /retest

    rhods-ci-bot rhods-ci-bot commented on Nov 13, 2026 17:25 UTC
    Bot

    <!-- pipeline: odh-pr-test-distributed-workloads -->
    @redhat-chai-bot: The following test has Failed:

    OCI Artifact Browser URL


    View in Artifact Browser

    Inspecting Test Artifacts Manually


    To inspect your test artifacts manually, follow these steps:
    1. Install ORAS (see the ORAS installation guide).
    2. Download artifacts with the following commands:

    mkdir -p oras-artifacts
    cd oras-artifacts
    oras pull quay.io/opendatahub/odh-ci-artifacts:odh-pr-test-distributed-workloads-hkqpj
    

    robert-bell robert-bell commented on Nov 23, 2026 11:42 UTC
    Contributor

    /build-konflux

    robert-bell robert-bell approved these changes on Nov 23, 2026 13:51 UTC
    Approved Reviewer

    /lgtm
    /approve

    Smoke tested manually.

    Reviewers
    Assignees
    redhat-chai-bot redhat-chai-bot
    Labels
    risk: low confidence: 89.4% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 33.1% (LOW) · Higher = larger blast radius
    33.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 89.4% · Lower = rushed or shallow review
    89.4%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.5% · Safe to merge
    3.5%