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-2022-25858 (Medium) detected in multiple libraries #256

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

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

CVE-2022-25858 - Medium Severity Vulnerability

Vulnerable Libraries - terser-4.3.9.tgz, terser-4.8.0.tgz, terser-3.17.0.tgz, terser-5.10.0.tgz

terser-4.3.9.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-4.3.9.tgz

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

Path to vulnerable library: /aws-node-typescript-sqs-standard/node_modules/terser/package.json

Dependency Hierarchy: - webpack-4.41.2.tgz (Root Library) - terser-webpack-plugin-1.4.1.tgz - :x: **terser-4.3.9.tgz** (Vulnerable Library)

terser-4.8.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-4.8.0.tgz

Path to dependency file: /aws-node-dynamic-image-resizer/package.json

Path to vulnerable library: /aws-node-dynamic-image-resizer/node_modules/terser/package.json,/aws-node-typescript-kinesis/node_modules/terser/package.json,/aws-node-vue-nuxt-ssr/node_modules/terser/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/terser/package.json

Dependency Hierarchy: - webpack-4.41.2.tgz (Root Library) - terser-webpack-plugin-1.4.4.tgz - :x: **terser-4.8.0.tgz** (Vulnerable Library)

terser-3.17.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-3.17.0.tgz

Path to dependency file: /aws-node-fullstack/frontend/package.json

Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/terser/package.json

Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - terser-webpack-plugin-1.2.2.tgz - :x: **terser-3.17.0.tgz** (Vulnerable Library)

terser-5.10.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-5.10.0.tgz

Path to dependency file: /aws-node-vue-nuxt-ssr/package.json

Path to vulnerable library: /aws-node-vue-nuxt-ssr/node_modules/terser-webpack-plugin/node_modules/terser/package.json

Dependency Hierarchy: - nuxt-2.15.8.tgz (Root Library) - webpack-2.15.8.tgz - terser-webpack-plugin-4.2.3.tgz - :x: **terser-5.10.0.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Publish Date: 2022-07-15

URL: CVE-2022-25858

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2022-07-15

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (webpack): 4.41.3

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (webpack): 4.41.3

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (react-scripts): 3.1.0

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (nuxt): 2.16.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.