Vulnerability in Libpq Project
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. 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.014 (71.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.014 · change: +0.001
Affected products
- Libpq Project
- Pg-Native Project
- Libpq — versions 0
- Pg-Native — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-LIBPQ-2392366 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-25852?
- CVE-2022-25852 is a high-severity vulnerability in Libpq Project, classified under Incorrect Type Conversion or Cast. CVSS score: 7.5/10. Published 2022-06-17.
- How severe is CVE-2022-25852?
- High severity. CVSS v3 base score is 7.5 out of 10.