org.apache.gravitino:gravitino-catalog-jdbc-common@1.2.0

  • latest version

    1.3.0

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.gravitino:gravitino-catalog-jdbc-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
    • C
    Arbitrary Code Injection

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the testConnection API when a malicious H2 JDBC URL is supplied, which leverages the H2 INIT parameter. An attacker can execute arbitrary Java code on the server by sending a crafted request to the API endpoint. This is only exploitable if the application is configured to use H2 as the database backend.

    How to fix Arbitrary Code Injection?

    Upgrade org.apache.gravitino:gravitino-catalog-jdbc-common to version 1.2.1 or higher.

    [,1.2.1)