PromucFlow_constructor/app/server/entrypoint.sh
Shrikant Sharat Kandula 3c259386ff
fix: Add fix for log4j2 RCE (#9706)
Ref: https://spring.io/blog/2021/12/10/log4j2-vulnerability-and-spring-boot.

Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-11 09:54:38 +05:30

4 lines
226 B
Bash
Executable File

#!/bin/sh
# Ref -Dlog4j2.formatMsgNoLookups=true https://spring.io/blog/2021/12/10/log4j2-vulnerability-and-spring-boot
exec java -Djava.security.egd="file:/dev/./urandom" "$@" -Dlog4j2.formatMsgNoLookups=true -jar server.jar