Description
All versions of package pg-native; all versions of package libpq 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 pg-native may transitively impact npm's libpq.
Remediation
References
https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366
https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365
Related Vulnerabilities
CVE-2022-35142 Vulnerability in npm package raneto
CVE-2018-16487 Vulnerability in npm package lodash.mergewith
CVE-2020-36048 Vulnerability in maven package org.webjars.npm:engine.io
CVE-2022-21700 Vulnerability in maven package io.micronaut:micronaut-http
CVE-2022-29648 Vulnerability in maven package com.jflyfox:jflyfox_jfinal