Skip to content

Update Java dependencies and remediate CVEs - #3289

Open
CydeWeys wants to merge 1 commit into
google:masterfrom
CydeWeys:update-dependencies-2026-11
Open

CydeWeys wants to merge 1 commit into
google:masterfrom
CydeWeys:update-dependencies-2026-11

Conversation

@CydeWeys

@CydeWeys CydeWeys commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Refresh all Gradle dependency lockfiles to latest uncapped versions and add explicit version constraints to remediate tracked Java CVEs:

  • Netty (CVE-2026-56819): Constrain io.netty:netty-codec-http2, netty-codec-socks, and netty-handler-proxy to [4.1.136.Final, 5.0.0)!! and raise Netty lower bounds in dependencies.gradle. Upgrades core and jetty from 4.1.133.Final to 4.2.21.Final.
  • Jackson (CVE-2026-68494, CVE-2026-89425): Constrain com.fasterxml.jackson.core:jackson-core and com.fasterxml.jackson:jackson-bom to [2.18.11,) across all project configurations and the root buildscript classpath, and raise google-cloud-core/storage/tasks lower bounds. Upgrades proxy from 2.15.3 to 2.22.4, core/jetty from 2.22.4 to 2.23.0, and root buildscript from 2.14.2 to 2.23.0.
  • gRPC (CVE-2025-55163): Constrain io.grpc:grpc-netty-shaded to [1.75.0,). Upgrades proxy from 1.58.0 to 1.85.1 (and core/jetty/util/networking/prober from 1.83.0 to 1.85.1).
  • Guava (CVE-2026-102554): Constrain com.google.guava:guava to [33.7.2-jre,) across all configurations (checkstyle, annotationProcessor, nonprodAnnotationProcessor, compile/runtime, and test classpaths). Upgrades all lockfile entries to 33.7.2-jre or 33.8.0-jre. (Note: upstream Apache Beam 2.78.0 still ships shaded beam-vendor-guava-32_1_2-jre and beam-vendor-grpc-1_69_0 artifacts.)
  • Apache MINA / FTPServer (test-only CRITICAL CVEs): Remove unused org.apache.ftpserver:ftplet-api and ftpserver-core dependencies by dropping the FtpServer interface from TestSftpServer (which uses Apache SSHD directly) and throwing IOException instead of FtpException, eliminating org.apache.mina:mina-core:2.2.4 from all test classpaths.
  • Other notable bumps: Apache Beam 2.77.0 -> 2.78.0, Flyway 13.11.1 -> 13.13.0, Jetty 12.1.14 -> 12.1.15, Netty 4.2.19.Final -> 4.2.21.Final.

Verified locally with full Gradle clean build, checkLicense --no-parallel, :core:sqlIntegrationTest, checkDependenciesDotGradle, runPresubmits, and GCS Maven mirror synchronization.

BUG= http://b/587433496


This change is Reviewable

Refresh all Gradle dependency lockfiles to latest uncapped versions and
add explicit version constraints to remediate tracked Java CVEs:

- Netty (CVE-2026-56819): constrain io.netty:netty-codec-http2,
  netty-codec-socks, and netty-handler-proxy to [4.1.136.Final, 5.0.0)!!
  and raise Netty lower bounds in dependencies.gradle; upgrades core and
  jetty from 4.1.133.Final to 4.2.21.Final.
- Jackson (CVE-2026-68494, CVE-2026-89425): constrain jackson-core and
  jackson-bom to [2.18.11,) across all project configurations and the
  root buildscript classpath, and raise google-cloud-core/storage/tasks
  lower bounds; upgrades proxy from 2.15.3 to 2.22.4, core/jetty from
  2.22.4 to 2.23.0, and root buildscript from 2.14.2 to 2.23.0.
- gRPC (CVE-2025-55163): constrain io.grpc:grpc-netty-shaded to
  [1.75.0,); upgrades proxy from 1.58.0 to 1.85.1 (and core/jetty/util/
  networking/prober from 1.83.0 to 1.85.1).
- Guava (CVE-2026-102554): constrain com.google.guava:guava to
  [33.7.2-jre,) across all configurations (including checkstyle,
  annotationProcessor, nonprodAnnotationProcessor, and test classpaths);
  upgrades all lockfile entries to 33.7.2-jre or 33.8.0-jre. Upstream
  Apache Beam (2.78.0) still ships shaded beam-vendor-guava-32_1_2-jre
  and beam-vendor-grpc-1_69_0 artifacts.
- Apache MINA / FTPServer (test-only CRITICAL CVEs): remove unused
  org.apache.ftpserver:ftplet-api and ftpserver-core dependencies by
  dropping the FtpServer interface from TestSftpServer (which uses
  Apache SSHD directly) and throwing IOException instead of
  FtpException, eliminating org.apache.mina:mina-core:2.2.4 from all
  test classpaths.
- Other notable bumps: Apache Beam 2.77.0 -> 2.78.0, Flyway 13.11.1 ->
  13.13.0, Jetty 12.1.14 -> 12.1.15, Netty 4.2.19.Final -> 4.2.21.Final.

BUG= http://b/587433496

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Attention Required: Lockfile Detected

This pull request contains modifications to one or more *.lockfile files. Please confirm that you have run update_dependency.sh to push new dependencies to the private repo.

Someone with Admin role must manually dismiss this review before merging.

@CydeWeys
CydeWeys requested a review from weiminyu November 20, 2026 21:20
@CydeWeys
CydeWeys enabled auto-merge November 20, 2026 21:20
@CydeWeys

Copy link
Copy Markdown
Member Author

Confirmed: update_dependency.sh was run to upload all updated dependency artifacts to the private repo, and kokoro-internal passed.

@CydeWeys
CydeWeys dismissed github-actions[bot]’s stale review November 20, 2026 21:31

Confirmed: update_dependency.sh was run to upload all updated dependency artifacts and kokoro-internal passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant