Skip to content

[Java] Bump log4j to 2.25.5 and jackson-databind to 2.18.11 - #67828

Merged
edoakes merged 1 commit into
ray-project:masterfrom
lbarrosby:java-bump-log4j-jackson
Nov 20, 2026
Merged

edoakes merged 1 commit into
ray-project:masterfrom
lbarrosby:java-bump-log4j-jackson

Conversation

@lbarrosby

Copy link
Copy Markdown
Contributor

Description

Bumps the Java dependencies bundled into ray_dist.jar:

ci/build/bundled_dependency_versions_test.py now expects log4j 2.25.5 and also checks the jackson-databind version, same as it already does for httpcore5.

No open PR touches these versions (searched open PRs for log4j/jackson). Same kind of change as #64269 and #64575.

Tests:

  • pytest ci/build/bundled_dependency_versions_test.py: 4 passed
  • Checked that all new artifacts are on Maven Central and that the jackson-databind 2.18.11 POM pulls jackson-core 2.18.11. I didn't run the Bazel Java build locally, so CI covers that.

AI assistance (Claude) was used to put this together. I reviewed the diff and ran the test above.

Related issues

Closes #67733
Closes #67734

ray_dist.jar bundles log4j 2.25.4 and jackson-databind/jackson-core
2.18.8, which scanners flag for CVE-2026-49844 (log4j-api) and several
jackson-core/jackson-databind CVEs fixed in 2.18.9 through 2.18.11.

jackson-core is not listed directly. jackson-databind 2.18.11 depends on
jackson-core 2.18.11, so the bundled jackson-core moves with it.

Extend the bundled dependency version test to cover jackson-databind.

Signed-off-by: Lucas Barros <[email protected]>
@lbarrosby
lbarrosby requested review from a team as code owners November 4, 2026 18:48

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Java dependency versions in java/dependencies.bzl, upgrading jackson-databind from 2.18.8 to 2.18.11 and log4j artifacts from 2.25.4 to 2.25.5. It also updates the corresponding test assertions in ci/build/bundled_dependency_versions_test.py and adds a new test to verify the patched jackson-databind version. I have no feedback to provide.

@ray-gardener ray-gardener Bot added core Issues that should be addressed in Ray Core security The issue or proposal related to security community-contribution Contributed by the community labels Nov 4, 2026
@lbarrosby

Copy link
Copy Markdown
Contributor Author

Gentle bump in case this slipped through. Let me know if you'd like any changes.

@andrewsykim
andrewsykim enabled auto-merge (squash) November 20, 2026 17:18
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Nov 20, 2026
@edoakes
edoakes disabled auto-merge November 20, 2026 18:03
@edoakes
edoakes merged commit 2645f97 into ray-project:master Nov 20, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests security The issue or proposal related to security

Projects

None yet

3 participants