ghc-automation-staging-parallel-11-p3 / 11653742_426

0 stars 0 forks source link

CVE-2017-16082 (Critical) detected in pg-5.1.0.tgz #14

Open staging-whitesource-for-github-com[bot] opened 5 hours ago

staging-whitesource-for-github-com[bot] commented 5 hours ago

CVE-2017-16082 - Critical Severity Vulnerability

Vulnerable Library - pg-5.1.0.tgz

PostgreSQL client - pure javascript & libpq with the same API

Library home page: https://registry.npmjs.org/pg/-/pg-5.1.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/pg/package.json

Dependency Hierarchy: - pg-promise-4.8.1.tgz (Root Library) - :x: **pg-5.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: f42bdb0461a03549b3cc808f59351c7977fd1699

Found in base branch: main

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-04-26

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16082

Release Date: 2018-04-26

Fix Resolution (pg): 6.0.5

Direct dependency fix Resolution (pg-promise): 6.0.0


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.