CalvinKirs opened a new pull request, #70937: URL: https://github.com/apache/doris/pull/70937
### Background The FE and BE Java extensions share Maven dependency management. Master packages connectors and cloud filesystem providers separately, so their runtime dependencies must be updated in the modules that ship them. ### What problem does this PR solve? Issue Number: None Related PR: #70109 (branch-4.1 dependency updates) PR Type: Release/Dependency Problem Summary: Port the dependency security updates from branch-4.1 to master's module layout. Use the released Spring and compression fixes, and move Doris gRPC and both Iceberg GCS packages to the managed Netty transport. Bring over the SDK exclusions and provider wiring where master still uses those dependencies. ### Details - **Versions:** Spring Boot and its managed Spring LDAP 4.1.1 → 4.1.3, Spring Framework 7.0.9 → 7.0.11, gRPC 1.75.0 → 1.85.1, Netty 4.2.18.Final → 4.2.21.Final, managed zstd-jni 1.5.7-25, lz4-java 1.11.1 → 1.12.1, Kerby 2.0.3 → 2.1.2, and OpenTelemetry 1.62.0 → 1.67.0. Port the associated Maven pins for Protobuf, CEL, Hadoop's shaded libraries, HBase, HTTP clients, and SDK dependencies. Use the maintained JSch 2.28.8 in libhdfs and record its existing BSD license in the distribution inventory. - **Upstream changes:** The Spring releases include CVE-2026-59414 and CVE-2026-59368. The zstd-jni pin covers CVE-2026-89046 and GHSA-8v5f-66rc-52f5. The Kerby BOM covers CVE-2026-57914 and OpenTelemetry covers CVE-2026-118259. Managed Netty includes the fixes for CVE-2026-93492 and CVE-2026-93579. The LZ4 release includes the native extraction and stream allocation fixes. [Spring Boot 4.1.3](https://github.com/spring-projects/spring-boot/releases/tag/v4.1.3), [Spring LDAP advisory](https://spring.io/security/cve-2026-59368/), [zstd-jni advisory](https://github.com/luben/zstd-jni/security/advisories/GHSA-8v5f-66rc-52f5), [Netty release notes](https://github.com/netty/netty/releases/tag/netty-4.2.21.Final), [LZ4 release notes](https://github.com/yawkat/lz4-java/releases/tag/v1.12.1) - **Compatibility:** On Linux x86-64 with JDK 17, Avro 1.12.1 and the fixed zstd-jni completed a container round trip. Google Cloud Storage HTTP and gRPC clients initialized with unshaded gRPC using the cached baseline transport versions. Candidate FE startup, Flight SQL, connector packaging, and other platforms still need verification. Master retains its Avro pin for Hudi commit metadata and its OBS SDK classpath ordering. - **Behavior change:** The gRPC channels use the managed Netty implementation. Updated libraries enforce their upstream validation and SSH negotiation defaults. The change uses the existing endpoints, client settings, and wire definitions. - **Rollback:** Revert this commit and rebuild the Java packages together. The prior dependency versions and their security exposure return after rollback. This change requires no data migration. ### Testing - Passed static whitespace, XML, connector import, and metadata funnel checks. Checked managed pins, SDK exclusions, and service-provider placement. Maven resolved the master baseline dependency paths offline. - Passed a standalone Avro/Zstandard round trip with zstd-jni 1.5.7-25 and a separate Google SDK client initialization smoke test with the cached baseline gRPC and Netty versions. - FE source generation passed. The FE build stopped during native dependency download. Targeted FE tests and Maven validation stopped before execution because the updated BOMs were unavailable in the local cache and Maven Central was unreachable. ### Notes for Reviewers Master's Hudi, Hive shade, and Lance namespace integrations require their own compatibility validation for the branch-4.1 maintenance bumps. Master has already removed the old standalone Jersey connector path and replaced the fat Hive catalog package. Fluss 1.0.0 embeds zstd-jni 1.5.7-6 and Netty 4.1.104.Final. The Huawei Hadoop connector embeds its own OBS HTTP libraries. Those vendor bundles need separate updates. ### Release note Update Java runtime dependencies for FE, storage connectors, and BE Java extensions to pick up published security fixes. ### Check List (For Author) - Behavior changed: Yes (see Details) - Does this need documentation: No - Pre-submission status: Partially verified: candidate build, targeted FE tests, and packaged runtime dependency resolution need a complete native toolchain and Maven repository access. ### AI Disclosure - Tool: OpenAI Codex (GPT-6) - Generated: Dependency port, verification scripts, and PR description draft. - Human review: Pending. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
