org.mybatis:mybatis@3.0.1 vulnerabilities

  • latest version

    3.5.19

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    9 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mybatis:mybatis package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Remote Code Execution (RCE)

    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.

    1. the user enabled the built-in 2nd level cache [1]
    2. the user did not setup JEP-290 filter
    3. 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

    How to fix Remote Code Execution (RCE)?

    Upgrade org.mybatis:mybatis to version 3.5.6 or higher.

    [,3.5.6)