Skip to content

Commit 4eff179

Browse files
authored
1 parent 8e5b845 commit 4eff179

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

sdks/java/io/iceberg/hive/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,15 @@ dependencies {
4848
// old calcite vulnerabilities
4949
exclude group: "org.apache.calcite", module: "calcite-core"
5050
exclude group: "org.apache.calcite", module: "calcite-druid"
51+
// old mssql vulnerabilities CVE-2025-59250
52+
exclude group: "com.microsoft.sqlserver", module: "mssql-jdbc"
5153
}
52-
runtimeOnly ("org.apache.hadoop:hadoop-yarn-server-resourcemanager:$hadoop_version")
54+
runtimeOnly ("org.apache.hadoop:hadoop-yarn-server-resourcemanager:$hadoop_version") {
55+
// old mssql vulnerabilities CVE-2025-59250
56+
exclude group: "com.microsoft.sqlserver", module: "mssql-jdbc"
57+
}
58+
// add manually higher version to resolve CVE-2025-59250
59+
runtimeOnly ("com.microsoft.sqlserver:mssql-jdbc:12.2.0.jre11")
5360
runtimeOnly ("org.apache.hbase:hbase-client:$hbase_version")
5461
runtimeOnly ("org.apache.calcite.avatica:avatica-core:$avatica_version")
5562
// these exlusions were inherit from hive-exec-3.1.3.pom

0 commit comments

Comments
 (0)