← Back to Pull requests

[RHOAI 3.5] CVE-2019-25781: bump Markdown in runtime training images #1455

Closed
unknown closed this pull request without merging on Nov 10, 2026 08:19 UTC
View on GitHub
unknown unknown commented on Nov 09, 2026 10:43 UTC
Author

Bumps Markdown to 3.11.3 across runtime training image variants to remediate CVE-2019-25781 (DoS via inefficient inline link parsing in Python-Markdown, affects versions 3.0 through 3.11.2).

Changes

For each runtime training image, added Markdown = "~=3.11.3" to Pipfile and ran pipenv upgrade --lock-only Markdown to update the lockfile:

| Variant | Before | After |
|---|---|---|
| py312-cuda128-torch280 | 3.10.2 | 3.11.3 |
| py312-rocm64-torch280 | 3.10.2 | 3.11.3 |
| py312-cuda128-torch290 | 3.11 | 3.11.3 |
| py312-rocm64-torch290 | 3.11 | 3.11.3 |

Validation

  • make verify-runtime-lockfiles passes for all 4 variants

  • No unrelated packages changed in any lockfile
  • Related Jira tickets

  • RHAI-17634 (odh-training-cuda128-torch28-py312-rhel9)

  • RHAI-17635 (odh-training-rocm64-torch28-py312-rhel9)

  • RHAI-17651 (odh-training-cuda128-torch29-py312-rhel9)

  • RHAI-17653 (odh-training-rocm64-torch29-py312-rhel9)
  • Note

    Universal image variants (th-torch-cpu/cuda/rocm) are addressed separately in midstream PR opendatahub-io/distributed-workloads#1115. Their downstream fix is blocked on AIPCC frozen index availability (RHAI-21307).

    ---
    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: cc69f0ae590246d59021504e1e1e0338, commit: 2cb413a6a)

    Chai persona: Kubeflow Trainer

    Diff: 182 lines (+136 / -46) across 2 files Reviewer: sutaakar Review duration: 1295m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 182 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.312
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1455"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 35.6% (MEDIUM) · Higher = larger blast radius
    35.6%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.1% · Safe to merge
    14.1%