From f9982897766a58e91e26e8c3c865d1c1fa8a2ce4 Mon Sep 17 00:00:00 2001 From: Marc Hermans Date: Fri, 10 Dec 2021 10:59:45 +0100 Subject: [PATCH] [CVE-2021-44228]: Update Log4J to fix the security issue inside it (#8270) --- build.gradle | 5 +++-- src/fmllauncher/resources/log4j2.xml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 88241d60ad..53d96856c8 100644 --- a/build.gradle +++ b/build.gradle @@ -427,8 +427,9 @@ project(':forge') { installer 'org.jline:jline:3.12.+' installer 'org.apache.maven:maven-artifact:3.6.3' installer 'net.jodah:typetools:0.8.3' - installer 'org.apache.logging.log4j:log4j-api:2.11.2' - installer 'org.apache.logging.log4j:log4j-core:2.11.2' + installer 'org.apache.logging.log4j:log4j-api:2.15.0' //TODO: Unpin in 1.18.1 or when Mojang bumps the Log4J version + installer 'org.apache.logging.log4j:log4j-core:2.15.0' //TODO: Unpin in 1.18.1 or when Mojang bumps the Log4J version + installer 'org.apache.logging.log4j:log4j-slf4j18-impl:2.15.0' //TODO: Unpin in 1.18.1 or when Mojang bumps the Log4J version installer 'net.minecrell:terminalconsoleappender:1.2.0' installer 'net.sf.jopt-simple:jopt-simple:5.0.4' installer 'org.spongepowered:mixin:0.8.4' diff --git a/src/fmllauncher/resources/log4j2.xml b/src/fmllauncher/resources/log4j2.xml index cf06a2029d..0e434457e9 100644 --- a/src/fmllauncher/resources/log4j2.xml +++ b/src/fmllauncher/resources/log4j2.xml @@ -20,24 +20,24 @@ - + - - + + - + - - + + - + @@ -45,7 +45,7 @@ - +