pg-native@1.2.0 vulnerabilities

A slightly nicer interface to Postgres over node-libpq

  • latest version

    3.2.0

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pg-native 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
    • H
    Denial of Service (DoS)

    pg-native is a high performance native bindings between node.js and PostgreSQL via libpq with a simple API.

    Affected versions of this package are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed.

    Note: pg-native is a mere binding to npm's libpq library, which in turn has the addons and bindings to the actual C libpq library. This means that problems found in libpq may transitively impact npm's pg-native.

    How to fix Denial of Service (DoS)?

    Upgrade pg-native to version 3.0.1 or higher.

    <3.0.1