Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Bump log4j to 2.15.0 to patch JNDI RCE
Browse files Browse the repository at this point in the history
  • Loading branch information
dualspiral committed Dec 13, 2021
1 parent 48ebadb commit b3361bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ dependencies {
compile 'net.minecrell:terminalconsoleappender:1.2.0'
runtime 'org.jline:jline-terminal-jansi:3.12.1'

// log4j 2.15 to avoid nasty exploit
runtime 'org.apache.logging.log4j:log4j-api:2.15.0'
runtime 'org.apache.logging.log4j:log4j-core:2.15.0'

shadow 'org.ow2.asm:asm-all:5.2'

log4j('org.apache.logging.log4j:log4j-core:2.8.1') {
Expand Down Expand Up @@ -145,6 +149,9 @@ shadowJar {
include dependency('org.jline:jline-reader')
include dependency('org.fusesource.jansi:jansi')

include dependency('org.apache.logging.log4j:log4j-api:2.15.0')
include dependency('org.apache.logging.log4j:log4j-core:2.15.0')

include dependency('com.eclipsesource.minimal-json:minimal-json')
}
}
Expand Down

0 comments on commit b3361bb

Please sign in to comment.