CVE-2017-16082 (High) detected in pg-4.1.1.tgz
Opened this issue · 0 comments
CVE-2017-16082 - High Severity Vulnerability
Vulnerable Library - pg-4.1.1.tgz
PostgreSQL client - pure javascript & libpq with the same API
Library home page: https://registry.npmjs.org/pg/-/pg-4.1.1.tgz
Path to dependency file: /tmp/ws-scm/Website/package.json
Path to vulnerable library: /Website/node_modules/pg/package.json
Dependency Hierarchy:
- ❌ pg-4.1.1.tgz (Vulnerable Library)
Found in HEAD commit: 192315db4ed122ba7d7919df34e543ab6e35646b
Vulnerability 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.
Publish Date: 2018-06-07
URL: CVE-2017-16082
CVSS 3 Score Details (9.8)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://nodesecurity.io/advisories/521
Release Date: 2017-08-13
Fix Resolution: Version 2.x.x: Update to version 2.11.2 or later. * Version 3.x.x: Update to version 3.6.4 or later. * Version 4.x.x: Update to version 4.5.7 or later. * Version 5.x.x: Update to version 5.2.1 or later. * Version 6.x.x: Update to version 6.4.2 or later. ( Note that versions 6.1.6, 6.2.5, and 6.3.3 are also patched. ) * Version 7.x.x: Update to version 7.1.2 or later. ( Note that version 7.0.2 is also patched. )
Step up your Open Source Security Game with WhiteSource here