From fb42b3b628ea45a3c3e7f6421fa461361c9914a4 Mon Sep 17 00:00:00 2001 From: Iain Powrie Date: Sun, 12 Dec 2021 15:17:22 +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 ba7278be..c98d65c3 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 & Garbage Collect Compile Deps & Harden COPY requirements.txt /commander/requirements.txt RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/community \