CVE-2022-25852 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366 | CVE | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 | CVE | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366 | [email protected] | ExploitThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-704 | Incorrect Type Conversion or Cast | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libpq project libpq | All versions |
CPE
Remediation
| |
| pg-native project pg-native | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 11, 2023 | Reanalysis | [email protected] |
| Jun 28, 2022 | Initial Analysis | [email protected] |
| Jun 17, 2022 | CVE Modified | [email protected] |