Update vulnerable dependency - javax.servlet:javax.servlet-api
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Iad407eb6c950e43e692830d595fdca680366e863
Issue-ID: SDC-4426
diff --git a/pom.xml b/pom.xml
index 0f8b970..a211a0d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,7 +56,7 @@
<jakarta.el.version>3.0.4</jakarta.el.version>
<netty.version>4.1.77.Final</netty.version>
- <servlet-api.version>4.0.1</servlet-api.version>
+ <servlet-api.version>4.0.4</servlet-api.version>
<wire-mock.version>2.26.3</wire-mock.version>
<ecomp.version>3.4.0</ecomp.version>
<cassandra.unit.version>4.3.1.0</cassandra.unit.version>
@@ -79,7 +79,6 @@
<commons.collections.version>4.3</commons.collections.version>
<ws.rs.version>2.1.1</ws.rs.version>
<javax.validation.version>2.0.1.Final</javax.validation.version>
- <javax.servlet.version>${servlet-api.version}</javax.servlet.version>
<jetty.version>9.4.49.v20220914</jetty.version>
<jetty-distribution.version>${jetty.version}</jetty-distribution.version>
@@ -378,9 +377,10 @@
</exclusion>
</exclusions>
</dependency>
+ <!-- https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api -->
<dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
+ <groupId>jakarta.servlet</groupId>
+ <artifactId>jakarta.servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>