Skip to content

CVE-2022-25852 Denial of Service (DoS)

HighCVSS 7.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
libpq project libpq All versions No fix listed No fix yet
pg-native project pg-native All versions No fix listed No fix yet
npm libpq(npm) < 1.8.10; <= 1.8.9 1.8.10 Fixed
npm pg-native(npm) < 3.0.1; <= 3.0.0 3.0.1 Fixed

Affected products

ProductAffected versionsFixed in
npm libpq(npm) <= 1.8.9 No fix listed
npm pg-native(npm) <= 3.0.0 No fix listed
libpq project libpq All versions No fix listed
pg-native project pg-native All versions No fix listed
npm libpq(npm) < 1.8.10 1.8.10
npm pg-native(npm) < 3.0.1 3.0.1

References