소스 검색

安全漏洞: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>