CVE-2022-25852
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2022-25852
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-06-17T20:15:10
- Last Modified Date
- 2022-06-28T14:53:11
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:libpq_project:libpq:*:*:*:*:*:node.js:*:* | 1 | OR | ||
cpe:2.3:a:pg-native_project:pg-native:*:*:*:*:*:node.js:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-LIBPQ-2392366 | |
https://snyk.io/vuln/SNYK-JS-PGNATIVE-2392365 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-25852 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25852 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-06-17 21:00:09 | Added to TrackCVE |