mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-19 01:18:12 +00:00
security: patch log4j remote code execution vulnerability (#1178)
This commit is contained in:
1 parent
529d92fa63
commit
0718a62007
1 file changed
+3
@@ -85,6 +85,9 @@ if [ -n "$JVM_DD_OPTS" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Patch Log4j remote code execution vulnerability
|
||||
JVM_OPTS="-Dlog4j2.formatMsgNoLookups=true ${JVM_OPTS}"
|
||||
|
||||
if isTrue ${ENABLE_JMX}; then
|
||||
: ${JMX_PORT:=7091}
|
||||
JVM_OPTS="${JVM_OPTS}
|
||||
|
||||
Reference in new issue
Block a user