CVE-2017-16082
A remote code execution vulnerability was found within the pg module w ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | pg | 2.11.2, 3.6.4, 4.5.7, 5.2.1, 6.0.5, 6.1.6, 6.2.5, 6.3.3, 6.4.2, 7.0.2, 7.1.2 |
| debian 11 | node-postgres | 7.7.1-1 |
| debian 12 | node-postgres | 7.7.1-1 |
| debian 13 | node-postgres | 7.7.1-1 |
| debian 14 | node-postgres | 7.7.1-1 |
| echo | node-postgres | 7.7.1-1 |