Skip to content

Commit 152213c

Browse files
authored
[fix](fe) Bump vulnerable FE dependency versions (apache#68445)
### What problem does this PR solve? Issue Number: None Problem Summary: OWASP dependency-check flagged several FE third-party dependencies with known CVEs that have fixed releases available. Bump each to its fixed version: - ranger-plugins-common 2.8.0 -> 2.9.0 (several CRITICAL RCE/injection CVEs) - netty 4.2.15.Final -> 4.2.17.Final - httpclient5 5.6.3 -> 5.6.4 - hbase 2.6.3 -> 2.6.6 - jline 3.30.6 -> 3.30.14 - parquet 1.17.0 -> 1.18.0 - log4j2 2.25.4 -> 2.25.5, and log4j-1.2-api with it so all log4j artifacts stay on one version Also exclude io.airlift:http-server from trino-main: it pulls in the Jetty 11 server side (jetty-server, jetty-servlet, jetty-security, jetty-jmx, http2-server), which Doris never starts. This mirrors the exclusion already applied on the BE side in be-java-extensions/trino-connector-scanner. ### Release note None ### Check List (For Author) - Test: Unit Test / Manual test - `mvn -pl fe-core -am package` succeeds with 0 Checkstyle violations; `mvn dependency:tree` resolves every bumped artifact to its new version with no conflicts. - The BE plugins that use the same properties (`hadoop-hudi-scanner`, `paimon-scanner`, `iceberg-metadata-scanner`, `java-udf`, `trino-connector-scanner`) package. - Unit tests of `fe-connector-trino` (62), `fe-authorization-plugin-ranger-doris` (49) and `fe-authorization-plugin-ranger-hive` (22, 1 skipped) pass. - Behavior changed: No - Does this need documentation: No
1 parent 0785d90 commit 152213c

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

‎fe/pom.xml‎

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ under the License.
248248
<properties>
249249
<!-- iceberg 1.9.1 depends avro on 1.12 -->
250250
<avro.version>1.12.1</avro.version>
251-
<parquet.version>1.17.0</parquet.version>
251+
<parquet.version>1.18.0</parquet.version>
252252
<spark.version>3.4.3</spark.version>
253253
<hudi.version>1.0.2</hudi.version>
254254
<obs.dependency.scope>compile</obs.dependency.scope>
@@ -306,13 +306,13 @@ under the License.
306306
<hikaricp.version>6.0.0</hikaricp.version>
307307
<thrift.version>0.24.0</thrift.version>
308308
<tomcat-embed.version>9.0.104</tomcat-embed.version>
309-
<log4j2.version>2.25.4</log4j2.version>
310-
<log4j-1.2.version>2.25.4</log4j-1.2.version>
309+
<log4j2.version>2.25.5</log4j2.version>
310+
<log4j-1.2.version>2.25.5</log4j-1.2.version>
311311
<slf4j.version>2.0.17</slf4j.version>
312312
<metrics-core.version>4.0.2</metrics-core.version>
313313
<resilience4j.version>2.4.0</resilience4j.version>
314314
<!-- Keep Netty compatible with Arrow Flight SQL 19 and other transitive Netty users. -->
315-
<netty-all.version>4.2.15.Final</netty-all.version>
315+
<netty-all.version>4.2.17.Final</netty-all.version>
316316
<!-- OpenTelemetry versions before 1.62.0 allow unbounded allocation while parsing W3C
317317
baggage (CVE-2026-45292); align the complete OpenTelemetry graph on the fixed BOM. -->
318318
<opentelemetry.version>1.62.0</opentelemetry.version>
@@ -384,7 +384,7 @@ under the License.
384384
<!-- HttpClient 5.5.2 can leak pooled connections on decode errors (CVE-2026-64607),
385385
and HttpCore 5.3.6 is affected by HTTP/1 and HTTP/2 memory-exhaustion issues
386386
(CVE-2026-54399 and CVE-2026-54428). Use their fixed maintenance releases. -->
387-
<httpclient5.version>5.6.3</httpclient5.version>
387+
<httpclient5.version>5.6.4</httpclient5.version>
388388
<httpcore5.version>5.4.3</httpcore5.version>
389389
<aws-java-sdk.version>1.12.669</aws-java-sdk.version>
390390
<mariadb-java-client.version>3.0.9</mariadb-java-client.version>
@@ -393,8 +393,8 @@ under the License.
393393
<re2j.version>1.8</re2j.version>
394394
<hadoop.thirdparty.guava.version>1.2.0</hadoop.thirdparty.guava.version>
395395
<hadoop.thirdparty.protobuf_3_25.version>1.5.0</hadoop.thirdparty.protobuf_3_25.version>
396-
<hbase.version>2.6.3</hbase.version>
397-
<jline.version>3.30.6</jline.version>
396+
<hbase.version>2.6.6</hbase.version>
397+
<jline.version>3.30.14</jline.version>
398398
<hbase-shaded-gson.version>4.1.7</hbase-shaded-gson.version>
399399
<antlr4.version>4.13.1</antlr4.version>
400400
<joda.version>2.8.1</joda.version>
@@ -408,7 +408,7 @@ under the License.
408408
<orc.version>1.8.4</orc.version>
409409
<zookeeper.version>3.9.3</zookeeper.version>
410410
<velocity-engine-core.version>2.4</velocity-engine-core.version>
411-
<ranger-plugins-common.version>2.8.0</ranger-plugins-common.version>
411+
<ranger-plugins-common.version>2.9.0</ranger-plugins-common.version>
412412
<!-- Matches the jersey-core the FE already carries; only the Ranger plugins ask for it. -->
413413
<jersey.version>1.19.4</jersey.version>
414414
<!-- Huawei IAM pulls bcprov-jdk15on 1.69, whose final 1.70 release is vulnerable to
@@ -2031,6 +2031,16 @@ under the License.
20312031
<artifactId>bootstrap</artifactId>
20322032
<groupId>io.airlift</groupId>
20332033
</exclusion>
2034+
<!-- Same reasoning as be-java-extensions/trino-connector-scanner: TrinoBootstrap
2035+
only wires FeaturesConfig/TypeRegistry/ConnectorServicesProvider for query
2036+
planning, never io.airlift.bootstrap.Bootstrap or io.airlift.http.server -
2037+
FE never starts Trino's own HTTP server. Drops the Jetty server side it brings
2038+
(jetty-server, jetty-servlet, jetty-security, jetty-jmx, http2-server);
2039+
http2-client stays, it comes from io.airlift:http-client. -->
2040+
<exclusion>
2041+
<artifactId>http-server</artifactId>
2042+
<groupId>io.airlift</groupId>
2043+
</exclusion>
20342044
<exclusion>
20352045
<artifactId>re2j</artifactId>
20362046
<groupId>io.trino</groupId>

0 commit comments

Comments
 (0)