Skip to content

Commit 1a77d71

Browse files
committed
TIKA-4348 -- downgrade log4j2 (#2043)
(cherry picked from commit 932edba)
1 parent bbd54a3 commit 1a77d71

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tika-parent/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@
394394
<jwarc.version>0.30.0</jwarc.version>
395395
<kafka.version>3.9.0</kafka.version>
396396
<libpst.version>0.9.3</libpst.version>
397-
<log4j2.version>2.24.1</log4j2.version>
397+
<log4j2.version>2.24.0</log4j2.version>
398+
<!-- can't update to 10, needs jdk21 -->
398399
<lucene.version>9.12.0</lucene.version>
399400
<maven.plugin.annotations.version>3.15.1</maven.plugin.annotations.version>
400401
<mchange.version>0.3.1</mchange.version>
@@ -1251,7 +1252,14 @@
12511252
<rules>
12521253
<bannedDependencies>
12531254
<excludes>
1255+
<!-- log4shell -->
12541256
<exclude>org.apache.logging.log4j:log4j-core:(,2.17.1)</exclude>
1257+
<!--
1258+
https://github.com/apache/logging-log4j2/issues/3143
1259+
https://github.com/apache/logging-log4j2/issues/3196
1260+
-->
1261+
<exclude>org.apache.logging.log4j:log4j-core:[2.24.1]</exclude>
1262+
<exclude>org.apache.logging.log4j:log4j-api:[2.24.1]</exclude>
12551263
</excludes>
12561264
</bannedDependencies>
12571265
</rules>

0 commit comments

Comments
 (0)