org.mariadb.jdbc:mariadb-java-client@3.5.9

  • latest version

    4.0.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    27 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mariadb.jdbc:mariadb-java-client 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
    • H
    Out-of-bounds Read

    Affected versions of this package are vulnerable to Out-of-bounds Read through the processing of server-declared packet lengths in decoders for session-state blocks, column definition packets, text row data, or binary row data. An attacker can cause the client to read beyond the intended packet boundary and terminate connection handling by sending specially crafted packets from a malicious or compromised server, or via a machine-in-the-middle attack.

    How to fix Out-of-bounds Read?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.11 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.11)
    • H
    External Control of File Name or Path

    Affected versions of this package are vulnerable to External Control of File Name or Path via the ClientMessage.validateLocalFileName process. An attacker can access arbitrary files from the client host by controlling the server side of the connection and leveraging standard java.sql calls such as DatabaseMetaData.getImportedKeys, getExportedKeys, or ResultSet.updateRow. This is only exploitable if the server is malicious or compromised, a man-in-the-middle attack is present, and allowLocalInfile is enabled on the client.

    How to fix External Control of File Name or Path?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.11 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.11)
    • H
    Integer Overflow or Wraparound

    Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the readLength process. An attacker can cause the client to crash or trigger excessive memory allocations by sending specially crafted length-encoded integers from a malicious or compromised server.

    How to fix Integer Overflow or Wraparound?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.10 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.10)
    • H
    Inappropriate Encoding for Output Context

    Affected versions of this package are vulnerable to Inappropriate Encoding for Output Context through the handling of character_set_results and session tracking. An attacker can alter the encoding of result data without detection by manipulating session variables on the server side, causing applications to misinterpret string data and potentially bypass validation or escaping mechanisms. This is only exploitable if the attacker has control over the server side of the connection or can perform a man-in-the-middle attack.

    How to fix Inappropriate Encoding for Output Context?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.11 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.11)
    • H
    Memory Allocation with Excessive Size Value

    Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the OkPacket.parse process. An attacker can exhaust system memory and cause application instability or crashes by sending specially crafted packets with large server-declared lengths, leading to excessive heap allocations.

    How to fix Memory Allocation with Excessive Size Value?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.11 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.11)
    • M
    Memory Allocation with Excessive Size Value

    Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the XAResource.recover process. An attacker can cause application crashes or force excessive memory allocations by supplying malicious values for gtrid_length and bqual_length from a compromised or malicious server during XA recovery.

    How to fix Memory Allocation with Excessive Size Value?

    Upgrade org.mariadb.jdbc:mariadb-java-client to version 3.3.7, 3.4.5, 3.5.11 or higher.

    [3.0.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.11)