Critical severity9.8NVD Advisory· Published Jun 7, 2018· Updated Jun 17, 2026
CVE-2017-16082
CVE-2017-16082
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pgnpm | < 2.11.2 | 2.11.2 |
pgnpm | >= 3.0.0, < 3.6.4 | 3.6.4 |
pgnpm | >= 4.0.0, < 4.5.7 | 4.5.7 |
pgnpm | >= 5.0.0, < 5.2.1 | 5.2.1 |
pgnpm | >= 6.0.0, < 6.0.5 | 6.0.5 |
pgnpm | >= 6.1.0, < 6.1.6 | 6.1.6 |
pgnpm | >= 6.2.0, < 6.2.5 | 6.2.5 |
pgnpm | >= 6.3.0, < 6.3.3 | 6.3.3 |
pgnpm | >= 6.4.0, < 6.4.2 | 6.4.2 |
pgnpm | >= 7.0.0, < 7.0.2 | 7.0.2 |
pgnpm | >= 7.1.0, < 7.1.2 | 7.1.2 |
Affected products
2- Range: < 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.0.5 || >= 6.1.0 < 6.1.6 || >= 6.2.0 < 6.2.5 || >= 6.3.0 < 6.3.3 || >= 6.4.0 < 6.4.2 || >= 7.0.0 < 7.0.2 || >= 7.1.0 < 7.1.2
Patches
Vulnerability mechanics
References
5- node-postgres.com/announcementsnvdExploitThird Party AdvisoryWEB
- nodesecurity.io/advisories/521nvdExploitThird Party Advisory
- github.com/advisories/GHSA-wc9v-mj63-m9g5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2017-16082ghsaADVISORY
- www.npmjs.com/advisories/521ghsaWEB
News mentions
0No linked articles in our index yet.