← Back to Pull requests

chore(security): bump js-yaml, fast-uri, postcss to patched versions #9617

Closed
unknown closed this pull request without merging on Sep 03, 2026 20:37 UTC
View on GitHub
unknown unknown commented on Sep 03, 2026 14:46 UTC
Author

<!--- https://issues.redhat.com/browse/RHOAIENG-90409 -->

Description

Bumps three vulnerable transitive dependencies in the root lockfile (which produces the rhoai/odh-dashboard-rhel9 image) to their patched versions, remediating the following Red Hat PSIRT CVE Security Tracking issues (all [rhoai-3.4], all pscomponent:rhoai/odh-dashboard-rhel9):

| Dependency | From → To | CVEs / Jira |
|---|---|---|
| fast-uri | 3.1.5 → 3.1.7 | CVE-2026-76172 (RHOAIENG-89323), CVE-2026-75975 (RHOAIENG-89224), CVE-2026-75899 (RHOAIENG-89193), CVE-2026-75931 (RHOAIENG-88866), CVE-2026-18446 (RHOAIENG-85325), CVE-2026-16221 (RHOAIENG-85287) |
| js-yaml | 4.x 4.1.0/4.2.0 → 4.3.2; 3.x 3.14.1/3.14.2 → 3.15.2 | CVE-2026-84375 (RHOAIENG-90409) |
| postcss | 8.5.15 → 8.5.27 | CVE-2026-69153 (RHOAIENG-85469) |

Applied via npm overrides. No major version changes — js-yaml stays within its 3.x and 4.x majors, fast-uri within 3.x, postcss within 8.x — so no breaking changes are expected. The lockfile diff is intentionally surgical: only the vulnerable nodes were re-pinned (plus postcss's nanoid range, which its 8.5.27 release requires and which is already satisfied by the tree at 3.3.18).

How Has This Been Tested?

  • npm ci succeeds against the updated lockfile (all integrity hashes verified).

  • npm audit confirms the fast-uri, js-yaml, and postcss advisories are cleared (total advisories dropped 42 → 32).

  • npm run type-check passes for 17/20 workspaces; the single failure (@odh-dashboard/eval-hub, react-query retry typings + implicit any in useEvaluationJobDetailPolling.ts) is pre-existing on main and unrelated to these dependencies (none of them are imported there).
  • Test Impact

    No tests added — this is a transitive dependency version bump with no source changes. Correctness is covered by npm audit (advisory oracle) and npm ci (integrity/installability). Existing unit/Cypress suites exercise the affected build/runtime tooling indirectly.

    Request review criteria:

    Self checklist (all need to be checked):

  • The developer has manually tested the changes and verified that the changes work

  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).

  • The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

  • The code follows our [Best Practices](/docs/best-practices.md) (React coding standards, PatternFly usage, performance considerations)
  • After the PR is posted & before it merges:

  • The developer has tested their solution on a cluster by using the image produced by the PR to main
  • [RHOAIENG-89323]: https://redhat.atlassian.net/browse/RHOAIENG-89323?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-89224]: https://redhat.atlassian.net/browse/RHOAIENG-89224?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-89193]: https://redhat.atlassian.net/browse/RHOAIENG-89193?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-88866]: https://redhat.atlassian.net/browse/RHOAIENG-88866?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-85325]: https://redhat.atlassian.net/browse/RHOAIENG-85325?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-85287]: https://redhat.atlassian.net/browse/RHOAIENG-85287?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-90409]: https://redhat.atlassian.net/browse/RHOAIENG-90409?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

  • Chores

  • - Updated package configuration to improve compatibility across supported build and development tooling.
    - Standardized version constraints for more consistent project tooling behavior.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 581 lines (+435 / -146) across 7 files Reviewer: paulovmr Review duration: 350m
    All Vouch review confidence checks passed
    Residual risk 0.29 = Change Risk (0.73) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.73 · 581 lines diff across 7 files
    0.73
    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.381
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.073
    Real PR Conversation Timeline
    1 comments
    "Review active on #9617"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 73.1% (HIGH) · Higher = larger blast radius
    73.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: 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: 28.9% · Safe to merge
    28.9%