mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-21 14:32:39 +00:00
Java4Shell is now fixed in base image (#4409)
This commit is contained in:
1 parent
f2400958a7
commit
dad39111b3
2 files changed
+1
-10
No files matched your search
@@ -233,12 +233,3 @@ if isTrue "${USE_SIMD_FLAGS}"; then
|
||||
--add-modules=jdk.incubator.vector
|
||||
"
|
||||
fi
|
||||
|
||||
# if java >= 17, mitigate Java4Shell exploit (CVE-2026-114938) by disabling UseBASE64Intrinsics with
|
||||
# -XX:-UseBASE64Intrinsics
|
||||
if [[ $java_major_version -ge 17 ]] && isTrue "${FIX_JAVA4SHELL_EXPLOIT:-true}"; then
|
||||
JVM_XX_OPTS="${JVM_XX_OPTS}
|
||||
-XX:-UseBASE64Intrinsics
|
||||
"
|
||||
log "Disabling UseBASE64Intrinsics to mitigate Java4Shell exploit (CVE-2026-114938)"
|
||||
fi
|
||||
Reference in new issue
Block a user