artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

CVE-2020-7774 (High) detected in y18n-4.0.0.tgz, y18n-3.2.1.tgz #157

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

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

CVE-2020-7774 - High Severity Vulnerability

Vulnerable Libraries - y18n-4.0.0.tgz, y18n-3.2.1.tgz

y18n-4.0.0.tgz

the bare-bones internationalization library used by yargs

Library home page: https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz

Path to dependency file: /aws-node-typescript-kinesis/package.json

Path to vulnerable library: /aws-node-typescript-kinesis/node_modules/y18n/package.json,/aws-node-github-check/node_modules/y18n/package.json,/aws-node-typescript-sqs-standard/node_modules/y18n/package.json,/aws-node-fullstack/frontend/node_modules/cacache/node_modules/y18n/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/cacache/node_modules/y18n/package.json

Dependency Hierarchy: - webpack-4.41.2.tgz (Root Library) - terser-webpack-plugin-1.4.4.tgz - cacache-12.0.4.tgz - :x: **y18n-4.0.0.tgz** (Vulnerable Library)

y18n-3.2.1.tgz

the bare-bones internationalization library used by yargs

Library home page: https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz

Path to dependency file: /aws-node-typescript-nest/package.json

Path to vulnerable library: /aws-node-typescript-nest/node_modules/y18n/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/y18n/package.json,/aws-node-fullstack/frontend/node_modules/y18n/package.json

Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - webpack-dev-server-3.1.14.tgz - yargs-12.0.2.tgz - :x: **y18n-3.2.1.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.

Publish Date: 2020-11-17

URL: CVE-2020-7774

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

Origin: https://www.npmjs.com/advisories/1654

Release Date: 2020-11-17

Fix Resolution (y18n): 4.0.1

Direct dependency fix Resolution (webpack): 4.41.3

Fix Resolution (y18n): 4.0.1

Direct dependency fix Resolution (react-scripts): 3.0.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 3 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 3 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.