← Back to Pull requests

build: expire temporary OWASP suppressions #20790

Closed
unknown closed this pull request without merging on Nov 04, 2026 02:07 UTC
View on GitHub
unknown unknown commented on Oct 29, 2026 18:09 UTC
Author

Description

Some OWASP suppressions were added as a stopgap, for example while a fix was pending upstream. They never expire and often match every version, so nobody notices when they are no longer needed or when they quietly cover a newer version.

This PR:

  • Gives temporary suppressions an expiry date using dependency-check's until attribute. After that date the suppression stops applying, the OWASP check fails, and someone has to look at it again.

  • Removes the hibernate-validator CVE-2026-93879 suppression. Master is now on 9.1.5.Final, which escapes the message parameters the CVE is about.

  • Adds a note at the top of the file asking for an until date on new temporary suppressions.
  • Permanent suppressions (false positives, code paths Druid does not use) are unchanged.

    <details>
    <summary>Details: suppressions changed and why</summary>

    | Dependency | CVEs | Change | Why |
    | --- | --- | --- | --- |
    | hadoop-client-runtime 3.5.0 (shaded Jetty) | CVE-2026-5795 | Expires 2027-04-30 | Needs a Hadoop release with Jetty 9.4.59+. |
    | hadoop-client-runtime 3.5.0 (shaded jackson-databind) | CVE-2026-19032, CVE-2026-54514, CVE-2026-54515, CVE-2026-59888, CVE-2026-59889, CVE-2026-68497, CVE-2026-77310, GHSA-mhm7-754m-9p8w | Expires 2027-04-30 | Needs a Hadoop release with jackson-databind 2.18.10+. CVE-2026-68497 moved here from a block shared with parquet-jackson, whose 2.22.2 copy is already fixed. |
    | hadoop-client-runtime 3.5.0 (shaded jackson-core) | CVE-2026-68494 | Expires 2027-04-30, moved to its own block | Needs a Hadoop release with jackson-core 2.18.8+. Split out of a block shared with parquet-jackson so the permanent entries there do not expire too. parquet-jackson's 2.22.2 is not affected. |
    | hadoop-client-runtime 3.5.0 (shaded commons-configuration2) | CVE-2026-45205 | Expires 2027-04-30 | Needs a Hadoop release with commons-configuration2 2.15.0+. |
    | hadoop-client-runtime 3.3.6 (two blocks) | 17 and 11 CVEs from 2022 to 2025, for example CVE-2023-44487 | Expires 2027-01-31 | Hadoop 3.3.6 is no longer used. Both blocks have no filePath or packageUrl, so they apply to every jar, not just Hadoop. When they lapse, anything that still fires gets assessed against the jar it actually matches. |
    | hibernate-validator | CVE-2026-93879 | Removed | 9.1.5.Final (#20765) escapes message parameters by default (HV-2256), which addresses the issue described in Red Hat bug 2540892. |

    The Hadoop dates are about 6 months out because we depend on a Hadoop release. Suppressions where Druid itself just needs to upgrade should use about 3 months.

    Once a date passes, the OWASP check fails on master, on release branches and in the apache-release build, until the entry is removed or renewed.

    </details>

    <hr>

    This PR has:

  • been self-reviewed.
  • Diff: 350 lines (+262 / -88) across 4 files Reviewer: amaechler Review duration: 7677m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 350 lines diff across 4 files
    0.42
    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.351
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #20790"
    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: 42.4% (MEDIUM) · Higher = larger blast radius
    42.4%
    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: 16.8% · Safe to merge
    16.8%
    Repository