CalvinKirs opened a new pull request, #70935: URL: https://github.com/apache/doris/pull/70935
### What problem does this PR solve? Related PR: apache/doris#70109 FE and the Java scanners resolve shared security-sensitive dependencies through the Maven parent. This backports the dependency pins and compatibility changes from #70109 to branch-4.2, including the Hudi metadata factory migration and the cloud storage dependency changes. It retains branch-4.2's GCS dependencies, BDB JE 18.3.18, and scanner test classpath fixes. - Spring Boot and Spring LDAP move from 4.1.1 to 4.1.3 for CVE-2026-59414 and CVE-2026-59368. The explicitly imported Spring Framework and Jetty BOMs align with Boot at 7.0.11 and 12.1.15. [Boot release](https://github.com/spring-projects/spring-boot/releases/tag/v4.1.3) · [Boot advisory](https://spring.io/security/cve-2026-59414/) · [LDAP advisory](https://spring.io/security/cve-2026-59368/) - The Maven parent pins `zstd-jni` at 1.5.7-25 for Avro, Hudi and other Maven-resolved consumers. This covers CVE-2026-89046 and GHSA-8v5f-66rc-52f5, which affects the 1.5.7-12 version introduced by Avro 1.12.2. The last release to support legacy Zstandard 0.4–0.7 frames was 1.5.7-12. [CNA record](https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/89xxx/CVE-2026-89046.json) · [Maintainer advisory](https://github.com/luben/zstd-jni/security/advisories/GHSA-8v5f-66rc-52f5) · [Format compatibility](https://github.com/luben/zstd-jni/blob/v1.5.7-25/README.md) - gRPC moves from 1.75.0 to 1.85.1. The OSS Meta Service client uses FE's existing unshaded transport, and the Netty BOM moves from 4.2.18.Final to 4.2.21.Final. This removes FE's direct shaded HTTP/2 codec affected by CVE-2026-93492 and CVE-2026-93579 and restores Netty's previous glibc baseline. The GCS connector has a separately relocated Netty copy. Its patch level needs to be verified at the connector level. [gRPC dependency versions](https://github.com/grpc/grpc-java/blob/v1.85.1/gradle/libs.versions.toml) · [Netty advisory 1](https://github.com/netty/netty/security/advisories/GHSA-8352-h356-c9qh) · [Netty advisory 2](https://github.com/netty/netty/security/advisories/GHSA-8whp-c7w8-2m72) · [Netty release](https://github.com/netty/netty/releases/tag/netty-4.2.21.Final) - The upstream backport also moves Kerby from 2.0.3 to its 2.1.2 BOM, OpenTelemetry from 1.62.0 to 1.67.0, Avro from 1.12.1 to 1.12.2, Hudi from 1.0.2 to 1.1.2, and aligns Hadoop, HBase, and cloud SDK dependencies. [Apache Directory advisories](https://directory.apache.org/security-advisories.html) · [OpenTelemetry advisory](https://github.com/open-telemetry/opentelemetry-java/security/advisories/GHSA-ccrj-gw8r-854m) · [Hudi release notes](https://hudi.apache.org/releases/release-1.1/) ### Testing - The source diff matched the saved PR diff byte for byte. Maven XML, dependency coordinates, branch-specific pins, and `git diff --check` passed. - On Linux x86_64 with JDK 17, cached Avro 1.12.1 and `zstd-jni` 1.5.7-25 round-tripped a Zstandard-compressed Avro file and read a file produced with 1.5.7-4. A separate smoke test built and shut down an unshaded channel using cached gRPC 1.75.0 and Netty 4.2.18.Final. - Partially verified: the candidate dependency tree, FE/scanner package build, and targeted Kerby, cloud storage, Hudi, LDAP, HTTP and gRPC tests stopped before compilation because required BOMs were uncached and Maven Central could not be resolved. The final runtime graph, packaged artifacts and native compatibility on other platforms still need verification. Reverting the backport restores the previous dependencies and reintroduces the addressed exposures. ### Release note Updates Java dependencies used by FE and external-table scanners to address published security advisories. ### Check List (For Author) - Test - [ ] Regression test - [ ] Unit Test - [x] Manual test (static checks and dependency smoke tests above) - Behavior changed: - [ ] No. - [x] Yes. FE uses one BOM-managed gRPC Netty transport, and the upgraded Zstandard JNI release reads standard frames. - Does this need documentation? - [x] No. - [ ] Yes. ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label -- 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]
