From 040702126fde7111a9e3de23e1007ac1fe93c1aa Mon Sep 17 00:00:00 2001 From: Ashwani Pandey <Ashwani.Pandey3@ibm.com> Date: Mon, 25 Jul 2022 14:19:03 +0530 Subject: [PATCH] tomcat vulnerability fixing --- provider/indexer-ibm/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/provider/indexer-ibm/pom.xml b/provider/indexer-ibm/pom.xml index 1c1c36c04..69b672899 100644 --- a/provider/indexer-ibm/pom.xml +++ b/provider/indexer-ibm/pom.xml @@ -32,6 +32,7 @@ <properties> <os-core-lib-ibm.version>0.15.2</os-core-lib-ibm.version> + <tomcat.embed.core.version>9.0.54</tomcat.embed.core.version> </properties> <profiles> @@ -59,8 +60,27 @@ <groupId>io.netty</groupId> <artifactId>netty-codec</artifactId> </exclusion> + <exclusion> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-core</artifactId> + </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-core</artifactId> + <version>${tomcat.embed.core.version}</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-web</artifactId> + <exclusions> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-tomcat</artifactId> + </exclusion> + </exclusions> + </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-codec</artifactId> -- GitLab