← Back to Pull requests

fix: address various CVEs before Druid 39 release #20864

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

Description

This PR fixes the CVEs that fail the OWASP dependency check on the 39.0.0 branch (failed run). After this change, the check passes (run).

The PR uses the same approach as #20863 on master. It also backports #20747 (azure-sdk-bom 1.3.9).

Upgraded dependencies

| Dependency | Change | CVEs |
|---|---|---|
| org.apache.zookeeper:zookeeper | 3.8.7 → 3.8.8 | CVE-2026-100300, CVE-2026-100252, CVE-2026-100302, CVE-2026-100235, CVE-2026-115448 |
| org.xerial.snappy:snappy-java | 1.1.10.8 → 1.1.10.12 (same as #20745 on master) | CVE-2026-116590 |
| net.minidev:json-smart | 2.6.0 → 2.6.1 | CVE-2026-113602 |
| org.ow2.asm:asm, asm-commons | 9.10.1 → 9.11.1 | None. accessors-smart 2.6.1 requires ASM 9.11.1. |
| com.azure:azure-sdk-bom | 1.3.8 → 1.3.9 (backport of #20747). azure-storage-blob-batch goes from 12.31.0 to 12.32.0. | CVE-2026-88094 |
| org.apache.kafka:kafka-clients | 4.3.1 → 4.3.2. master uses 4.4.0 (#20657). | CVE-2026-111115, CVE-2026-116593 |

New suppressions

| CVE | Artifact | Reason |
|---|---|---|
| CVE-2026-115448 | zookeeper 3.8.8 | False positive. ZooKeeper 3.8.8 contains the fix (ZOOKEEPER-5097). The "Affected versions" header of the Apache advisory lists 3.8.8, but the advisory text recommends 3.8.8 as the fix. |
| CVE-2026-102554, CVE-2026-118042 | Guava shaded in hadoop-shaded-guava and hadoop-client-runtime | Hadoop ships these Guava copies, and Druid cannot upgrade them. Hadoop RPC uses protobuf, not Java serialization. The suppression expires on 2027-04-30. |
| CVE-2026-110879 | jackson-databind shaded in hadoop-client-runtime 3.5.0 (2.18.6) and parquet-jackson 1.18.1 (2.22.2) | The issue requires default typing or @JsonTypeInfo(use = Id.CLASS). No class in hadoop-client-api 3.5.0 or in the Parquet 1.18.1 jars uses them. Hadoop 3.5.0 and Parquet 1.18.1 are the latest releases. Druid's own jackson-databind 2.22.4 has the fix. |
| CVE-2026-77711, CVE-2026-76184 | jetty-client 9.4.58 shaded in hadoop-client-runtime 3.5.0 | The issues affect the Jetty HttpClient. In hadoop-client-api 3.5.0, only YarnClientImpl uses it, for the YARN container shell. Druid does not use the YARN client. |
| CVE-2021-22569 | dev.cel:protobuf | False positive. The CVE affects the parser of com.google.protobuf:protobuf-java before 3.16.1, not dev.cel:protobuf. |

Other changes to suppressions

  • Removed the snappy-java 1.1.10.8 entry (CVE-2026-90559, CVE-2026-93452 and CVE-2026-108106), because the upgrade to 1.1.10.12 makes it unnecessary.

  • The CVE-2026-33117 entry now matches all versions of azure-core, azure-core-http-netty, azure-identity and azure-json. NVD marks all Azure SDK for Java versions before 4.10.6 as affected, and Druid does not use azure-security-keyvault-keys.
  • This PR has:

  • been self-reviewed.

  • a release note entry in the PR description.
  • Diff: 513 lines (+384 / -129) across 6 files Reviewer: capistrant Review duration: 352m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 513 lines diff across 6 files
    0.48
    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.373
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #20864"
    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: 47.7% (MEDIUM) · Higher = larger blast radius
    47.7%
    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: 18.8% · Safe to merge
    18.8%
    Repository