From b34b160a7332f94015fc047455b718e303920dc8 Mon Sep 17 00:00:00 2001 From: lilibo <1471506043@qq.com> Date: 星期三, 22 一月 2025 10:58:23 +0800 Subject: [PATCH] 漏洞修改 升级tomcat版本 --- deploy-jar-single/pom.xml | 90 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 90 insertions(+), 0 deletions(-) diff --git a/deploy-jar-single/pom.xml b/deploy-jar-single/pom.xml index f56e3cf..e7a2a00 100644 --- a/deploy-jar-single/pom.xml +++ b/deploy-jar-single/pom.xml @@ -21,6 +21,16 @@ <groupId>com.consum</groupId> <artifactId>consum-base</artifactId> <version>1.0.0-SNAPSHOT</version> + <exclusions> + <exclusion> + <artifactId>spring-security-core</artifactId> + <groupId>org.springframework.security</groupId> + </exclusion> + <exclusion> + <artifactId>snakeyaml</artifactId> + <groupId>org.yaml</groupId> + </exclusion> + </exclusions> </dependency> <!-- 閫氳繃鐣岄潰涓嬭浇po鐢熸垚鏂囦欢锛�2023/03/16 --> @@ -54,7 +64,52 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>2.1.6.RELEASE</version> + <exclusions> + <exclusion> + <artifactId>snakeyaml</artifactId> + <groupId>org.yaml</groupId> + </exclusion> + </exclusions> </dependency> + + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>2.0</version> + </dependency> + + <!--web妯″潡 淇敼tomcat鐗堟湰--> + <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>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-core</artifactId> + <version>9.0.89</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-el</artifactId> + <version>9.0.89</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat.embed</groupId> + <artifactId>tomcat-embed-websocket</artifactId> + <version>9.0.89</version> + </dependency> + <dependency> + <groupId>org.apache.tomcat</groupId> + <artifactId>tomcat-annotations-api</artifactId> + <version>9.0.89</version> + </dependency> + <!-- <!– 2023-06-25 浣跨敤Oracle鏁版嵁搴撻渶瑕侀厤缃紝涓嶉渶瑕佺洿鎺ユ敞閲婂嵆鍙�� –>--> <!-- <dependency>--> @@ -95,6 +150,41 @@ <!-- <groupId>com.iplatform</groupId>--> <!-- <artifactId>iplatform-report</artifactId>--> <!-- </dependency>--> + <!-- 閰嶇疆鏂囦欢鍔犲瘑 --> + <dependency> + <groupId>com.github.ulisesbocchio</groupId> + <artifactId>jasypt-spring-boot-starter</artifactId> + <version>2.1.0</version> + </dependency> + + + <!-- 鍔犺В瀵�--> + <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-web</artifactId> + <exclusions> + <exclusion> + <artifactId>spring-security-core</artifactId> + <groupId>org.springframework.security</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-config</artifactId> + <exclusions> + <exclusion> + <artifactId>spring-security-core</artifactId> + <groupId>org.springframework.security</groupId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-core</artifactId> + <version>5.7.12</version> + </dependency> </dependencies> -- Gitblit v1.9.1