Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#10457][followup]fix(deps): Exclude log4j 1.x globally (CVE-2020-9493) (#11506)

Bharath Krishnab433b20c8aad
diff --git a/build.gradle.kts b/build.gradle.kts
index 91cc57796d..26fd64bd1e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -342,6 +342,10 @@ subprojects {
configurations.all {
resolutionStrategy.force("commons-beanutils:commons-beanutils:$commonsBeanutilsVersion")
resolutionStrategy.force("org.xerial.snappy:snappy-java:$snappyJavaVersion")
+
+ // Exclude log4j 1.x (CVE-2020-9493, CVSS 9.8) pulled transitively by Hive and Hadoop.
+ // The safe log4j-1.2-api bridge from Log4j 2.x is already included in the log4j bundle.
+ exclude(group = "log4j", module = "log4j")
}
repositories {