pg-native@0.5.2 vulnerabilities

A slightly nicer interface to Postgres over node-libpq

Direct Vulnerabilities

Known vulnerabilities in the pg-native package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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