What’s Vulnerable › Vulnerabilities

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.

Affected products

How to fix

Upgrade to a fixed version: HackerOne pg node module 2.11.2, 3.6.4, 4.5.7, 5.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2017-16082 or the next vulnerability affects your stack