uniquelyparticular / serverless-oauth

A Particularly minimal pluggable OAuth implementation using Serverless.
https://uniquelyparticular.com
MIT License
1 stars 2 forks source link

CVE-2020-7720 (High) detected in node-forge-0.8.4.tgz, node-forge-0.7.4.tgz #88

Open mend-bolt-for-github[bot] opened 4 years ago

mend-bolt-for-github[bot] commented 4 years ago

CVE-2020-7720 - High Severity Vulnerability

Vulnerable Libraries - node-forge-0.8.4.tgz, node-forge-0.7.4.tgz

node-forge-0.8.4.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.8.4.tgz

Path to dependency file: /generic-oauth/package.json

Path to vulnerable library: /tmp/git/generic-oauth/node_modules/gcs-resumable-upload/node_modules/node-forge/package.json

Dependency Hierarchy: - firebase-admin-8.0.0.tgz (Root Library) - firestore-2.1.1.tgz - google-gax-1.1.1.tgz - google-auth-library-4.2.0.tgz - gtoken-3.0.0.tgz - google-p12-pem-2.0.0.tgz - :x: **node-forge-0.8.4.tgz** (Vulnerable Library)

node-forge-0.7.4.tgz

JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.

Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.4.tgz

Path to dependency file: /generic-oauth/package.json

Path to vulnerable library: /tmp/git/generic-oauth/node_modules/node-forge/package.json

Dependency Hierarchy: - firebase-admin-8.0.0.tgz (Root Library) - :x: **node-forge-0.7.4.tgz** (Vulnerable Library)

Found in HEAD commit: 251cf33dfb32e3b85cd274fac0c15f5697ed126f

Found in base branch: master

Vulnerability Details

The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Note: Version 0.10.0 is a breaking change removing the vulnerable functions.

Publish Date: 2020-09-01

URL: CVE-2020-7720

CVSS 3 Score Details (7.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-09-01

Fix Resolution (node-forge): 0.10.0

Direct dependency fix Resolution (firebase-admin): 9.2.0

Fix Resolution (node-forge): 0.10.0

Direct dependency fix Resolution (firebase-admin): 9.2.0


Step up your Open Source Security Game with Mend here