Remote Code Execution (RCE) Affecting org.mybatis:mybatis package, versions [,3.5.6)
Snyk CVSS
Attack Complexity
High
Integrity
High
Threat Intelligence
EPSS
0.41% (74th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGMYBATIS-1017032
- published 11 Oct 2020
- disclosed 11 Oct 2020
- credit Unknown
Introduced: 11 Oct 2020
CVE-2020-26945 Open this link in a new tabHow to fix?
Upgrade org.mybatis:mybatis
to version 3.5.6 or higher.
Overview
org.mybatis:mybatis is a SQL mapper framework
Affected versions of this package are vulnerable to Remote Code Execution (RCE). It mishandles deserialization of object streams. All of the following conditions needs to be met in order to trigger RCE.
- the user enabled the built-in 2nd level cache [1]
- the user did not setup JEP-290 filter
- the attacker found a way to modify entries of the private Map field i.e.
org.apache.ibatis.cache.impl.PerpetualCache.cache
and a valid cache key