com.baomidou:dynamic-datasource-spring-boot-common@4.3.0

  • latest version

    4.5.0

  • first published

    2 years ago

  • latest version published

    5 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.baomidou:dynamic-datasource-spring-boot-common 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
    Improper Neutralization of Special Elements in Data Query Logic

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the DsSpelExpressionProcessor in the datasource key resolution path. An attacker can trigger arbitrary expression evaluation by supplying a datasource key expression that uses SpEL type references or constructor expressions, allowing execution of attacker-controlled code in the application process. This can lead to remote code execution or process spawning under the privileges of the running service, putting the host and application data at risk.

    How to fix Improper Neutralization of Special Elements in Data Query Logic?

    A fix was pushed into the master branch but not yet published.

    [2.5.0,)