CVE-2017-16082
A remote code execution vulnerability was found within the pg module w ...
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-94
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | pg | <2.11.2>=3.0.0, <3.6.4>=4.0.0, <4.5.7>=5.0.0, <5.2.1>=6.0.0, <6.0.5+6 more | 2.11.23.6.44.5.75.2.16.0.5 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-postgres | 7.7.1-1 |
| 12 | node-postgres | 7.7.1-1 |
| 13 | node-postgres | 7.7.1-1 |
| 14 | node-postgres | 7.7.1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-postgres | 7.7.1-1 |
References
- github.com https://github.com/advisories/GHSA-wc9v-mj63-m9g5
- node-postgres.com https://node-postgres.com/announcements#2017-08-12-code-execution-vulnerability
- nodesecurity.io https://nodesecurity.io/advisories/521
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-16082
- www.npmjs.com https://www.npmjs.com/advisories/521
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.