Update log4j version due to security vulnerability for NCMP-DMI 54/126254/3
authorniamhcore <niamh.core@est.tech>
Wed, 15 Dec 2021 11:23:56 +0000 (11:23 +0000)
committerniamhcore <niamh.core@est.tech>
Wed, 15 Dec 2021 13:35:22 +0000 (13:35 +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: I2694cdc66449a9634dfe726b39736a8b0ba67e5a

pom.xml

diff --git a/pom.xml b/pom.xml
index 43f708f..0107318 100644 (file)
--- 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>
     <dependencies>