NetSight
critical9.8

CVE-2017-16082

A remote code execution vulnerability was found within the pg module when the remote database or query specifies a specially crafted column name.

Impact

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

VendorProductAffected versions
Node-PostgresPg
from 2.0.0 before 2.11.2
from 3.0.0 before 3.6.4
from 4.0.0 before 4.5.7
after 5.0.0 before 5.2.1
from 6.0.0 before 6.4.2
from 7.0.0 before 7.1.2

Weakness classification

References