From 4b21c5a9088b16b3d6c558d4947a5e483ade19d5 Mon Sep 17 00:00:00 2001 From: Akanksha Prasad <akprasad@microsoft.com> Date: Tue, 27 Jun 2023 16:27:00 +0530 Subject: [PATCH] tomcat vulnerabilty fix --- indexer-core/pom.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/indexer-core/pom.xml b/indexer-core/pom.xml index da01c5dcc..e81cf1108 100644 --- a/indexer-core/pom.xml +++ b/indexer-core/pom.xml @@ -64,6 +64,12 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jersey</artifactId> + <exclusions> + <exclusion> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> @@ -108,6 +114,7 @@ <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> + <version>9.0.75</version> </dependency> <dependency> @@ -250,10 +257,6 @@ <version>3.0.16</version> <scope>test</scope> </dependency> - <dependency> - <groupId>org.apache.tomcat.embed</groupId> - <artifactId>tomcat-embed-core</artifactId> - </dependency> </dependencies> <build> -- GitLab