From 55bf41f7f6b0cb758ffd841957e3f538ce803718 Mon Sep 17 00:00:00 2001 From: Iain Powrie Date: Sun, 12 Dec 2021 15:08:35 +0000 Subject: [PATCH] Apply vulnerability patch to mitigate CVE-2021-44228 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7e7c2ca0..c27176df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM python:alpine LABEL maintainer="Dockerfile created by Zedifus " +# Security Patch for CVE-2021-44228 +ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true + # Install Packages, Build Dependencies & Garbage Collect & Harden # (Alpine Edge repo is needed because jre16 is new) COPY requirements.txt /commander/requirements.txt