Vulnerability record · CVE-2017-16082 · published 7 June 2018
CVE-2017-16082: Node-postgres pg code injection vulnerability
Node Postgres · Pg
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.
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability | ExploitThird Party Advisory |
| https://nodesecurity.io/advisories/521 | ExploitThird Party Advisory |
| https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability | ExploitThird Party Advisory |
| https://nodesecurity.io/advisories/521 | ExploitThird Party Advisory |
Track CVE-2017-16082 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-16082), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.