Commit 1c89d3ba843434091771ab1e833d937cc6ef9865

Authored by 芋道源码
Committed by Gitee
2 parents b76fd25c 0e601d9d

!179 fastjson漏洞处理

Merge pull request !179 from October/master
Showing 1 changed file with 12 additions and 0 deletions
yudao-dependencies/pom.xml
@@ -52,6 +52,7 @@ @@ -52,6 +52,7 @@
52 <easyexcel.verion>2.2.7</easyexcel.verion> 52 <easyexcel.verion>2.2.7</easyexcel.verion>
53 <velocity.version>2.2</velocity.version> 53 <velocity.version>2.2</velocity.version>
54 <screw.version>1.0.5</screw.version> 54 <screw.version>1.0.5</screw.version>
  55 + <fastjson.version>2.0.4</fastjson.version>
55 <guava.version>30.1.1-jre</guava.version> 56 <guava.version>30.1.1-jre</guava.version>
56 <guice.version>5.1.0</guice.version> 57 <guice.version>5.1.0</guice.version>
57 <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version> 58 <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
@@ -475,6 +476,13 @@ @@ -475,6 +476,13 @@
475 <version>${velocity.version}</version> 476 <version>${velocity.version}</version>
476 </dependency> 477 </dependency>
477 478
  479 + <!--fastjson漏洞升级此次事件影响fastjson 1.2.80及之前所有版本 -->
  480 + <dependency>
  481 + <groupId>com.alibaba</groupId>
  482 + <artifactId>fastjson</artifactId>
  483 + <version>${fastjson.version}</version>
  484 + </dependency>
  485 +
478 <dependency> 486 <dependency>
479 <groupId>cn.smallbun.screw</groupId> 487 <groupId>cn.smallbun.screw</groupId>
480 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 --> 488 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
@@ -484,6 +492,10 @@ @@ -484,6 +492,10 @@
484 <groupId>org.freemarker</groupId> 492 <groupId>org.freemarker</groupId>
485 <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 --> 493 <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
486 </exclusion> 494 </exclusion>
  495 + <exclusion>
  496 + <groupId>com.alibaba</groupId>
  497 + <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
  498 + </exclusion>
487 </exclusions> 499 </exclusions>
488 </dependency> 500 </dependency>
489 501