Skip to content

Commit 4e21500

Browse files
依赖升级,修复jackson和spring-security-crypto漏洞
1 parent 8eab882 commit 4e21500

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ gitee项目地址:[https://gitee.com/lianjiatech/retrofit-spring-boot-starter]
5252
<dependency>
5353
<groupId>com.github.lianjiatech</groupId>
5454
<artifactId>retrofit-spring-boot-starter</artifactId>
55-
<version>2.2.20</version>
55+
<version>2.2.21</version>
5656
</dependency>
5757
```
5858

@@ -67,7 +67,7 @@ gitee项目地址:[https://gitee.com/lianjiatech/retrofit-spring-boot-starter]
6767
<dependency>
6868
<groupId>com.github.lianjiatech</groupId>
6969
<artifactId>retrofit-spring-boot-starter</artifactId>
70-
<version>2.2.20</version>
70+
<version>2.2.21</version>
7171
</dependency>
7272
<dependency>
7373
<groupId>com.squareup.okhttp3</groupId>

README_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<dependency>
4444
<groupId>com.github.lianjiatech</groupId>
4545
<artifactId>retrofit-spring-boot-starter</artifactId>
46-
<version>2.2.20</version>
46+
<version>2.2.21</version>
4747
</dependency>
4848
```
4949

@@ -53,7 +53,7 @@ This project depends on Retrofit-2.9.0, okhttp-3.14.9, and okio-1.17.5 versions.
5353
<dependency>
5454
<groupId>com.github.lianjiatech</groupId>
5555
<artifactId>retrofit-spring-boot-starter</artifactId>
56-
<version>2.2.20</version>
56+
<version>2.2.21</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>com.squareup.okhttp3</groupId>

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.lianjiatech</groupId>
88
<artifactId>retrofit-spring-boot-starter</artifactId>
9-
<version>2.2.20</version>
9+
<version>2.2.21</version>
1010

1111
<name>retrofit-spring-boot-starter</name>
1212
<description>retrofit-spring-boot-starter</description>
@@ -45,6 +45,7 @@
4545
<okhttp3.version>3.14.9</okhttp3.version>
4646
<okio.version>1.17.5</okio.version>
4747
<sentinel.version>1.6.3</sentinel.version>
48+
<jackson.version>2.10.5.1</jackson.version>
4849
</properties>
4950

5051
<dependencies>
@@ -53,6 +54,12 @@
5354
<artifactId>spring-cloud-commons</artifactId>
5455
<version>2.1.6.RELEASE</version>
5556
<scope>provided</scope>
57+
<exclusions>
58+
<exclusion>
59+
<groupId>*</groupId>
60+
<artifactId>*</artifactId>
61+
</exclusion>
62+
</exclusions>
5663
</dependency>
5764

5865
<dependency>
@@ -83,6 +90,17 @@
8390
<groupId>com.squareup.retrofit2</groupId>
8491
<artifactId>converter-jackson</artifactId>
8592
<version>${retrofit.version}</version>
93+
<exclusions>
94+
<exclusion>
95+
<groupId>com.fasterxml.jackson.core</groupId>
96+
<artifactId>jackson-databind</artifactId>
97+
</exclusion>
98+
</exclusions>
99+
</dependency>
100+
<dependency>
101+
<groupId>com.fasterxml.jackson.core</groupId>
102+
<artifactId>jackson-databind</artifactId>
103+
<version>${jackson.version}</version>
86104
</dependency>
87105
<dependency>
88106
<groupId>junit</groupId>

0 commit comments

Comments
 (0)