CVE-2017-16082 Details
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.
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://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability | CVE | ExploitThird Party Advisory |
| https://nodesecurity.io/advisories/521 | CVE | ExploitThird Party Advisory |
| https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability | [email protected] | ExploitThird Party Advisory |
| https://nodesecurity.io/advisories/521 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| node-postgres pg | >= 2.0.0, < 2.11.2 >= 3.0.0, < 3.6.4 >= 4.0.0, < 4.5.7 > 5.0.0, < 5.2.1 >= 6.0.0, < 6.4.2 >= 7.0.0, < 7.1.2 |
CPE
Remediation
| |
Change History
5 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 9, 2019 | CVE Modified | [email protected] |
| Jul 23, 2018 | Initial Analysis | [email protected] |