← Back to Pull requests

[SPARK-60798] Upgrade Jackson to 2.22.4 #990

Closed
unknown closed this pull request without merging on Nov 01, 2026 20:41 UTC
View on GitHub
unknown unknown commented on Nov 01, 2026 19:53 UTC
Author

What changes were proposed in this pull request?

This PR aims to upgrade Jackson to 2.22.4.

jackson-annotations stays at 2.22 because it has no 2.22.4 release (2.22 is the version paired with 2.22.4 by jackson-bom).

gradle/verification-metadata.xml was regenerated from scratch.

Why are the changes needed?

To bring the latest bug fixes and security fixes.

  • Jackson 2.22.4 (2026-10-17, jackson-databind-2.22.4)

  • - CVE-2026-110879: Validate type parameters and array element types of type ids
    - A cycle through a @JsonValue accessor is reported as DatabindException (#6206)
    - BeanDescription.findProperties() is not thread-safe when called concurrently on a shared, cached instance (#6227)
    - Avoid an NPE when the parser reports VALUE_STRING with null text (#6249)
    - The \uXXXX escape accepts lone surrogates in field names for ReaderBasedJsonParser (#1683)
    - UTF8DataInputJsonParser fails on JSON-escaped surrogate pairs in property names (#1744)
    - ALLOW_UNESCAPED_CONTROL_CHARS is ignored for single-quoted string values in UTF-8 byte parsers (#1750)
    - FilteringGeneratorDelegate handles embedded objects, typed arrays, and raw/binary values consistently (#1730)
    - Several non-blocking parser fixes (#1742, #1746, #1756)
    - The release also fixes six CVEs in the Avro, CBOR, Protobuf, and Smile data formats of jackson-dataformats-binary (CVE-2026-104015, CVE-2026-106554, CVE-2026-104016, CVE-2026-104017, CVE-2026-110747, CVE-2026-104895). Those modules are not bundled by this project.

    Does this PR introduce _any_ user-facing change?

    No.

    How was this patch tested?

    Pass the CIs. In addition, gradle build (Checkstyle, PMD, SpotBugs, JaCoCo, and all unit tests) and gradle spotlessCheck passed locally.

    Was this patch authored or co-authored using generative AI tooling?

    Generated-by: Claude Sonnet 5.5

    Diff: 369 lines (+276 / -93) across 4 files Reviewer: peter-toth Review duration: 47m
    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 · 369 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.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #990"
    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.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    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.9% · Safe to merge
    16.9%