Update log4j version due to security vulnerability for CPS Temporal 86/126286/1
authorniamhcore <niamh.core@est.tech>
Wed, 15 Dec 2021 11:44:41 +0000 (11:44 +0000)
committerNiamh Core <niamh.core@est.tech>
Thu, 16 Dec 2021 09:44:34 +0000 (09:44 +0000)
This change excludes old log4j libraries and includes newer versions
that are not tagged with a security vulnerability.

Issue-ID: CPS-820
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I209de398df3756d335e7fae4bf6ffb90fbfe334a
(cherry picked from commit 4b57fd343378f0cc09f276a7bc0c20a3e4e18fa0)

pom.xml

diff --git a/pom.xml b/pom.xml
index 947eb87..d85b27e 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-api</artifactId>
+                <version>2.16.0</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-to-slf4j</artifactId>
+                <version>2.16.0</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>