Fix usecase-ui-server security risk issues 15/87115/1
authorguochuyicmri <guochuyi@chinamobile.com>
Tue, 7 May 2019 07:46:16 +0000 (15:46 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Tue, 7 May 2019 07:46:18 +0000 (15:46 +0800)
Change-Id: Iacfc4e56bb143274b0482f37d1d8dcfe5e6a4ab4
Issue-ID: USECASEUI-258
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
server/pom.xml

index 4914b09..b057bc0 100644 (file)
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-jpa</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>tomcat-jdbc</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
                     <groupId>org.springframework.boot</groupId>
                     <artifactId>spring-boot-starter-tomcat</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.tomcat.embed</groupId>
+                    <artifactId>tomcat-embed-core</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>
         <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-tomcat</artifactId>
-            <scope>provided</scope>
+            <groupId>org.apache.tomcat.embed</groupId>
+            <artifactId>tomcat-embed-websocket</artifactId>
+            <version>8.5.34</version>
         </dependency>
         <dependency>
             <groupId>ch.qos.logback</groupId>