Debian Security Tracker
DEBIAN-CVE-2017-16082
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | node-postgres | All versions before 7.7.1-1 (fixed in 7.7.1-1) |
| Debian:13 | node-postgres | All versions before 7.7.1-1 (fixed in 7.7.1-1) |
| Debian:14 | node-postgres | All versions before 7.7.1-1 (fixed in 7.7.1-1) |