raindigi / GraphqlType-API-Registration

Graphql Tutorial Example with typeORM for building a scalable Back-End API and caches management
MIT License
1 stars 1 forks source link

CVE-2020-7677 (Critical) detected in thenify-3.3.0.tgz #170

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

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

CVE-2020-7677 - Critical Severity Vulnerability

Vulnerable Library - thenify-3.3.0.tgz

Promisify a callback-based function

Library home page: https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz

Path to dependency file: /GraphqlType-API-Registration/package.json

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

Dependency Hierarchy: - typeorm-0.2.12.tgz (Root Library) - cli-highlight-1.2.3.tgz - mz-2.7.0.tgz - thenify-all-1.6.0.tgz - :x: **thenify-3.3.0.tgz** (Vulnerable Library)

Found in HEAD commit: ddbf6735cb305c07ce82a0faefa069bd89b7581f

Found in base branch: master

Vulnerability Details

This affects the package thenify before 3.3.1. The name argument provided to the package can be controlled by users without any sanitization, and this is provided to the eval function without any sanitization.

Publish Date: 2022-07-25

URL: CVE-2020-7677

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://github.com/advisories/GHSA-29xr-v42j-r956

Release Date: 2020-07-21

Fix Resolution (thenify): 3.3.1

Direct dependency fix Resolution (typeorm): 0.2.13


Step up your Open Source Security Game with Mend here