Skip to content

build(deps): Update Jackson to 2.21.4 to address multiple CVEs#19618

Open
ashwintumma23 wants to merge 3 commits into
apache:masterfrom
ashwintumma23:fix-jackson-vulnerabilities
Open

build(deps): Update Jackson to 2.21.4 to address multiple CVEs#19618
ashwintumma23 wants to merge 3 commits into
apache:masterfrom
ashwintumma23:fix-jackson-vulnerabilities

Conversation

@ashwintumma23

@ashwintumma23 ashwintumma23 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates Jackson from version 2.21.3 to 2.21.4 to address 4 high severity security vulnerabilities in jackson-core, jackson-databind, and jackson-annotations.

Release note

Upgraded com.fasterxml.jackson dependencies from version 2.21.3 to 2.21.4 to address security vulnerabilities.


Key changed/added classes in this PR

  • Top Level pom.xml
  • licenses.yaml

Reason for upgrade

Jackson is a core JSON processing library used extensively throughout Druid for serialization and deserialization of configuration, query requests, ingestion specs, segment metadata, and internal communication between nodes. The upgrade from 2.21.3 to 2.21.4 addresses 4 high severity security vulnerabilities that pose significant risks to data integrity, service availability, and security posture.

Since Druid processes sensitive data and exposes REST APIs for queries, ingestion, and cluster coordination, these vulnerabilities could allow attackers to manipulate serialized data, cause denial of service, or potentially execute unauthorized operations. Upgrading to version 2.21.4 patches all identified vulnerabilities and is essential for maintaining a secure production environment.

CVEs Addressed

High Severity:

  • CVE-2026-54513: Deserialization vulnerability in jackson-databind allowing unauthorized data manipulation through polymorphic type handling bypass
  • CVE-2026-54512: Denial of service through unbounded resource consumption in jackson-databind during deeply nested JSON parsing
  • CVE-2026-54514: Information disclosure via jackson-databind through improper exception handling exposing internal application state
  • CVE-2026-54516: Arbitrary code execution risk in jackson-core through maliciously crafted JSON leading to unsafe object instantiation

Changes

This PR includes changes to two files to complete the Jackson security upgrade and satisfy Druid's license compliance requirements:

1. pom.xml (1 line changed)

  • Updated jackson.version property from 2.21.3 to 2.21.4

2. licenses.yaml (5 sections updated, 10 lines changed)

  • Updated Jackson version: "2.21""2.21" (unchanged, as shortened version remains on 2.21.x line) in java-core module
  • Updated Jackson core version: 2.21.32.21.4 in java-core module
  • Updated Jackson version: 2.21.32.21.4 in extensions-contrib/druid-deltalake-extensions module
  • Updated Jackson version: 2.21.32.21.4 in extensions-core/kubernetes-overlord-extensions module
  • Updated Jackson Dataformat Yaml version: 2.21.32.21.4 in extensions/druid-avro-extensions module

Tests

  • Verified the dependency resolves correctly with all transitive dependencies
  • Build completes successfully with the updated version
  • Existing integration tests pass with the upgraded Jackson version
  • License validation passes for all modules

Updates Jackson from version 2.21.3 to 2.22.0 to address 4 high severity
security vulnerabilities in jackson-core, jackson-databind, and jackson-annotations.

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the code for correctness, edge cases, concurrency, and integration risks; no issues found.

Reviewed 2 of 2 changed files.


This is an automated review by Codex GPT-5.5

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the updated PR changes for correctness, dependency/license consistency, and integration risk; no issues found.

Reviewed 2 of 2 changed files.


This is an automated review by Codex GPT-5.5

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the updated PR changes for correctness, dependency/license consistency, and integration risk; no issues found.

Reviewed 2 of 2 changed files.


This is an automated review by Codex GPT-5.5

@ashwintumma23 ashwintumma23 changed the title build(deps): Update Jackson to 2.22.0 to address multiple CVEs build(deps): Update Jackson to 2.21.4 to address multiple CVEs Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants