← Back to Pull requests

[Backport 2.19] Bump Guava 32.1.3-jre -> 33.7.2-jre (CVE-2026-102554) #5919

Closed
unknown closed this pull request without merging on Oct 30, 2026 22:20 UTC
View on GitHub
unknown unknown commented on Oct 30, 2026 18:28 UTC
Author

Description


Manual backport of #5918 to 2.19.

Google Guava versions >=4.0 <33.7.2 are affected by CVE-2026-102554 (GHSA-xxph-c9ww-hj94, CWE-770 — Allocation of Resources Without Limits or Throttling), fixed in 33.7.2.

CompactHashMap, CompactHashSet, and MapMakerInternalMap implement readObject() by reading an attacker-controlled element count / initial capacity from the stream and eagerly allocating backing arrays of that size before the actual stream content is consumed. A ~72-byte crafted serialized payload can force a multi-gigabyte allocation and crash the JVM with OutOfMemoryError.

| Artifact | From | To |
|---|---|---|
| com.google.guava:guava | 32.1.3-jre | 33.7.2-jre |

The version bump is a single line in the root build.gradle (guava_version). All modules reference ${guava_version}, and plugin/integ-test force it via resolutionStrategy, so every module picks up the new version. The automatic backport could not be used because 2.19 was on 32.1.3-jre rather than 33.3.0-jre. Guava 33.x still supports Java 8+, so it is compatible with the branch's Java 11 target.

Two build-only follow-ups were needed on 2.19 that main already has:

  • core/build.gradle: add compileOnlyApi 'com.google.code.findbugs:jsr305:3.0.2'. Guava 33.4+ no longer brings in jsr305 transitively, and prometheus uses javax.annotation.Nonnull. Same as main (#4714).

  • plugin/build.gradle, integ-test/build.gradle: force org.jspecify:jspecify:1.0.1 to resolve the 1.0.1 (from Guava 33.7.2) vs 1.0.0 conflict under strict conflict resolution. Same as main (#5776).
  • No source or test changes were required.

    Testing


  • ./gradlew build -x doctest --continue (JDK 21) — BUILD SUCCESSFUL (compile, unit tests, spotless, jacoco, integTest)

  • ./gradlew compileJava compileTestJava (JDK 11) — BUILD SUCCESSFUL
  • Related Issues


    Addresses CVE-2026-102554 for the SQL plugin on 2.19. Backport of #5918.

    Check List


  • New functionality includes testing.

  • New functionality has been documented.

  • - [ ] New functionality has javadoc added.
    - [ ] New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.

  • API changes companion pull request created.

  • Commits are signed per the DCO using --signoff or -s.

  • Public documentation issue/PR created.
  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

    Diff: 381 lines (+285 / -96) across 4 files Reviewer: Swiddis Review duration: 232m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 381 lines diff across 4 files
    0.43
    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.356
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5919"
    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: 43.0% (MEDIUM) · Higher = larger blast radius
    43.0%
    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: 17.0% · Safe to merge
    17.0%