Skip to content

Commit 615ef0f

Browse files
Copilotvharseko
andauthored
Upgrade MyBatis 3.2.5 → 3.5.16 (deserialization vulnerability) (#162)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 parent 84d39c2 commit 615ef0f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

legal/THIRDPARTYREADME.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ Jack Phelan, jphelan@andrew.cmu.edu: author (first version of core module)
139139
Version: joda-time-2.1.jar
140140
Copyright: Copyright 2001-2005 Stephen Colebourne
141141

142-
Version: mybatis-3.2.5.jar
143-
Copyright: Copyright 2009-2012 The MyBatis Team
142+
Version: mybatis-3.5.16.jar
143+
Copyright: Copyright 2009-2024 The MyBatis Team
144144
Copyright 2010 The Apache Software Foundation
145145

146146
Version: disruptor-3.0.1.jar

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115

116116

117117
<!-- Third party dependency versions -->
118+
<mybatis.version>3.5.16</mybatis.version>
118119
<orientdb.version>2.1.25</orientdb.version>
119120
<orientdb.studio.version>1.7.10</orientdb.studio.version>
120121
<javascript.maven.plugin.version>2.0.0-alpha-1</javascript.maven.plugin.version>
@@ -630,6 +631,13 @@
630631
<version>${h2.version}</version>
631632
</dependency>
632633

634+
<!-- MyBatis: override transitive dependency from activiti-engine to address CVE -->
635+
<dependency>
636+
<groupId>org.mybatis</groupId>
637+
<artifactId>mybatis</artifactId>
638+
<version>${mybatis.version}</version>
639+
</dependency>
640+
633641
<dependency>
634642
<groupId>net.lingala.zip4j</groupId>
635643
<artifactId>zip4j</artifactId>

0 commit comments

Comments
 (0)