org.mybatis:mybatis@3.4.5 vulnerabilities

  • latest version

    3.5.19

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    5 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.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    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)