浏览代码

安全漏洞:xstream升级到1.4.18

lijie 3 年之前
父节点
当前提交
b10e81c025
共有 1 个文件被更改,包括 10 次插入4 次删除
  1. 10 4
      pom.xml

+ 10 - 4
pom.xml

@@ -54,12 +54,18 @@
 		<dependency>
 			<groupId>com.persagy</groupId>
 			<artifactId>integrated-config-client</artifactId>
-			<!-- <exclusions>
+			<exclusions>
 				<exclusion>
-					<artifactId>objenesis</artifactId>
-					<groupId>org.objenesis</groupId>
+					<artifactId>xstream</artifactId>
+					<groupId>com.thoughtworks.xstream</groupId>
 				</exclusion>
-			</exclusions> -->
+			</exclusions>
+		</dependency>
+		<!-- 阿里云扫描漏洞要求版本需>=1.4.18 -->
+		<dependency>
+			<groupId>com.thoughtworks.xstream</groupId>
+			<artifactId>xstream</artifactId>
+			<version>1.4.18</version>
 		</dependency>
         <dependency>
             <groupId>com.persagy</groupId>