← Back to Pull requests

chore: Bump snappy-java, lz4-java and Jackson to fixed versions (3.9) #87

Closed
unknown closed this pull request without merging on Nov 30, 2026 14:57 UTC
View on GitHub
unknown unknown commented on Nov 26, 2026 16:16 UTC
Author

Updates three dependencies on aiven-patches/3.9 to versions without known advisories that affect Kafka 3.9.

| Library | Before | After | CVEs |
| ------------ | ------ | ----- | ---- |
| snappy-java | 1.1.10.5 | 1.1.10.11 | CVE-2026-108106, CVE-2026-108104 |
| lz4-java | 1.10.1 | 1.11.4 | CVE-2026-106449, CVE-2026-106450, CVE-2026-106451, CVE-2026-106452, CVE-2026-106453 |
| Jackson | 2.16.2 | 2.18.12 | CVE-2026-89407, CVE-2026-89425, CVE-2026-91776, CVE-2026-91777 |

  • snappy CVE-2026-108106 is the only finding with a remote path: a crafted compressed batch makes SnappyInputStream allocate about 2 GB while the broker validates it.

  • Kafka uses its own LZ4 framing, so the lz4 stream-class CVEs are not reachable from Kafka code. CVE-2026-106451 (native library replaced in a shared temp directory) applies to the JNI path.

  • Jackson: no Kafka code path meets the preconditions of these CVEs. The bump removes scanner findings.

  • The 2.16 and 2.17 Jackson lines have no fixed release. 3.9 moves to the 2.18 line, which Kafka 4.0 uses. The jackson-module-scala entries are updated for both Scala versions.
  • Each library is a separate commit. Refs: FLEET-6897, FLEET-6898, FLEET-6899.

    Test plan

  • :clients:test for the Lz4, Snappy and CompressionType tests cover the new compression libraries, including the LZ4 compression levels that dependencies.gradle asks to re-check.

  • :connect:json:test and the compile of :core, :connect:runtime and :metadata cover the Jackson change.
  • Diff: 190 lines (+142 / -48) across 2 files Reviewer: gqmelo Review duration: 5681m
    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 · 190 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.314
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #87"
    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.9% (MEDIUM) · Higher = larger blast radius
    35.9%
    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.2% · Safe to merge
    14.2%
    Repository