CVE-2017-16082
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
07/06/2018
Last modified:
09/10/2019
Description
A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name. There are 2 likely scenarios in which one would likely be vulnerable. 1) Executing unsafe, user-supplied sql which contains a malicious column name. 2) Connecting to an untrusted database and executing a query which returns results where any of the column names are malicious.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 2.0.0 (including) | 2.11.2 (excluding) |
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 3.0.0 (including) | 3.6.4 (excluding) |
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 4.0.0 (including) | 4.5.7 (excluding) |
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 5.0.0 (excluding) | 5.2.1 (excluding) |
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 6.0.0 (including) | 6.4.2 (excluding) |
cpe:2.3:a:node-postgres:pg:*:*:*:*:*:node.js:*:* | 7.0.0 (including) | 7.1.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page