SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-25852

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.

HIGH 7.5EPSS 1.38%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.38%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.38% probability · 71th percentile
CISA KEV
Not listed
Weakness
CWE-704
Affected
libpq project/libpq · pg-native project/pg-native
Source
report@snyk.io

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.