CVEvulnerability

CVE-2017-16082

9.8 CRITICAL Published 2018-06-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-06-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-94

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 configurations

• node-postgres pg (>= 2.0.0 < 2.11.2) • node-postgres pg (>= 3.0.0 < 3.6.4) • node-postgres pg (>= 4.0.0 < 4.5.7) • node-postgres pg (> 5.0.0 < 5.2.1) • node-postgres pg (>= 6.0.0 < 6.4.2) • node-postgres pg (>= 7.0.0 < 7.1.2)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References