High severityNVD Advisory· Published Jun 17, 2022· Updated Sep 17, 2024
Denial of Service (DoS)
CVE-2022-25852
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
libpqnpm | < 1.8.10 | 1.8.10 |
pg-nativenpm | < 3.0.1 | 3.0.1 |
Affected products
3- pg-native/pg-nativedescription
- ghsa-coords2 versions
< 1.8.10+ 1 more
- (no CPE)range: < 1.8.10
- (no CPE)range: < 3.0.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-j32j-2hxv-rqf7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25852ghsaADVISORY
- github.com/brianc/node-libpq/issues/84ghsaWEB
- github.com/brianc/node-libpq/pull/86ghsaWEB
- snyk.io/vuln/SNYK-JS-LIBPQ-2392366ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-PGNATIVE-2392365ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.