This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 932edbaff TIKA-4348 -- downgrade log4j2 (#2043)
932edbaff is described below

commit 932edbaff3b69034e4840033dfa9019dddbb10fc
Author: Tim Allison <[email protected]>
AuthorDate: Wed Nov 13 10:35:14 2024 -0500

    TIKA-4348 -- downgrade log4j2 (#2043)
---
 tika-parent/pom.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 7e3bc5c30..22b2a265c 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -396,7 +396,7 @@
     <jwarc.version>0.30.0</jwarc.version>
     <kafka.version>3.9.0</kafka.version>
     <libpst.version>0.9.3</libpst.version>
-    <log4j2.version>2.24.1</log4j2.version>
+    <log4j2.version>2.24.0</log4j2.version>
     <!-- can't update to 10, needs jdk21 -->
     <lucene.version>9.12.0</lucene.version>
     <maven.plugin.annotations.version>3.15.1</maven.plugin.annotations.version>
@@ -1263,7 +1263,14 @@
               <rules>
                 <bannedDependencies>
                   <excludes>
+                    <!-- log4shell -->
                     
<exclude>org.apache.logging.log4j:log4j-core:(,2.17.1)</exclude>
+                    <!--
+                        https://github.com/apache/logging-log4j2/issues/3143
+                        https://github.com/apache/logging-log4j2/issues/3196
+                    -->
+                    
<exclude>org.apache.logging.log4j:log4j-core:[2.24.1]</exclude>
+                    
<exclude>org.apache.logging.log4j:log4j-api:[2.24.1]</exclude>
                   </excludes>
                 </bannedDependencies>
               </rules>

Reply via email to