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 52 <easyexcel.verion>2.2.7</easyexcel.verion>
53 53 <velocity.version>2.2</velocity.version>
54 54 <screw.version>1.0.5</screw.version>
  55 + <fastjson.version>2.0.4</fastjson.version>
55 56 <guava.version>30.1.1-jre</guava.version>
56 57 <guice.version>5.1.0</guice.version>
57 58 <transmittable-thread-local.version>2.12.2</transmittable-thread-local.version>
... ... @@ -475,6 +476,13 @@
475 476 <version>${velocity.version}</version>
476 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 486 <dependency>
479 487 <groupId>cn.smallbun.screw</groupId>
480 488 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
... ... @@ -484,6 +492,10 @@
484 492 <groupId>org.freemarker</groupId>
485 493 <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
486 494 </exclusion>
  495 + <exclusion>
  496 + <groupId>com.alibaba</groupId>
  497 + <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
  498 + </exclusion>
487 499 </exclusions>
488 500 </dependency>
489 501  
... ...