You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2026/05/20 20:33:29 UTC
(impala) 02/02: IMPALA-14989: Upgrade log4j-core to 2.25.4 due to CVE-2025-68161
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 53241a96fba2bada079604676bbacb0db2184493
Author: Pranav Lodha <pr...@cloudera.com>
AuthorDate: Wed May 13 23:21:38 2026 +0530
IMPALA-14989: Upgrade log4j-core to 2.25.4 due to CVE-2025-68161
This patch updates log4j-core from 2.18.0 to 2.25.4.
Change-Id: Icdf7357dbf7edbb60cb3374094f210cbfeea2744
Reviewed-on: http://gerrit.cloudera.org:8080/24301
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Michael Smith <mi...@cloudera.com>
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
---
bin/impala-config.sh | 2 +-
fe/pom.xml | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index 81f251780..b77d4c72d 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -287,7 +287,7 @@ export IMPALA_JACKSON_DATABIND_VERSION=2.15.3
export IMPALA_JSON_SMART_VERSION=2.4.11
export IMPALA_JUNIT_VERSION=4.12
export IMPALA_KITE_VERSION=1.1.0
-export IMPALA_LOG4J2_VERSION=2.18.0
+export IMPALA_LOG4J2_VERSION=2.25.4
export IMPALA_PAC4J_VERSION=4.5.5
export IMPALA_RELOAD4j_VERSION=1.2.22
export IMPALA_SLF4J_VERSION=2.0.13
diff --git a/fe/pom.xml b/fe/pom.xml
index 2f6313d90..e2efe615c 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -852,6 +852,7 @@ under the License.
<exclude>org.apache.avro:*</exclude>
<exclude>org.apache.orc:*</exclude>
<exclude>org.jdom:jdom</exclude>
+ <exclude>org.apache.logging.log4j:*</exclude>
<exclude>org.bouncycastle:bcprov-jdk15on:*</exclude>
<exclude>org.bouncycastle:bcprov-jdk15to18:*</exclude>
<exclude>org.bouncycastle:bcprov-jdk15on:*</exclude>
@@ -884,6 +885,8 @@ under the License.
<include>org.apache.ozone:*:${ozone.version}</include>
<!-- orc-format does not match orc version -->
<include>org.apache.orc:orc-format:1.0</include>
+ <include>org.apache.logging.log4j:log4j-core:${log4j2.version}</include>
+ <include>org.apache.logging.log4j:log4j-api:${log4j2.version}</include>
</includes>
</bannedDependencies>
</rules>
@@ -1035,11 +1038,7 @@ under the License.
</exclusion>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-1.2-api</artifactId>
+ <artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>