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-37601 (Critical) detected in multiple libraries #276

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

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

CVE-2022-37601 - Critical Severity Vulnerability

Vulnerable Libraries - loader-utils-1.2.3.tgz, loader-utils-1.4.0.tgz, loader-utils-1.1.0.tgz, loader-utils-0.2.17.tgz, loader-utils-2.0.2.tgz

loader-utils-1.2.3.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz

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

Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/loader-utils/package.json,/aws-node-typescript-kinesis/node_modules/loader-utils/package.json,/aws-node-typescript-sqs-standard/node_modules/loader-utils/package.json,/aws-node-typescript-apollo-lambda/node_modules/loader-utils/package.json

Dependency Hierarchy: - ts-loader-5.4.5.tgz (Root Library) - :x: **loader-utils-1.2.3.tgz** (Vulnerable Library)

loader-utils-1.4.0.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz

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

Path to vulnerable library: /aws-node-dynamic-image-resizer/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/loader-utils/package.json,/aws-node-signed-uploads/node_modules/loader-utils/package.json,/azure-node-line-bot/node_modules/loader-utils/package.json,/azure-node-telegram-bot/node_modules/loader-utils/package.json,/google-node-typescript-http-endpoint/node_modules/loader-utils/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/loader-utils/package.json

Dependency Hierarchy: - nuxt-2.15.8.tgz (Root Library) - webpack-2.15.8.tgz - html-webpack-plugin-4.5.2.tgz - :x: **loader-utils-1.4.0.tgz** (Vulnerable Library)

loader-utils-1.1.0.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz

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

Path to vulnerable library: /aws-node-typescript-nest/node_modules/loader-utils/package.json,/aws-node-github-check/node_modules/loader-utils/package.json

Dependency Hierarchy: - babel-loader-7.1.5.tgz (Root Library) - :x: **loader-utils-1.1.0.tgz** (Vulnerable Library)

loader-utils-0.2.17.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz

Path to dependency file: /aws-node-oauth-dropbox-api/package.json

Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/loader-utils/package.json

Dependency Hierarchy: - babel-loader-6.4.1.tgz (Root Library) - :x: **loader-utils-0.2.17.tgz** (Vulnerable Library)

loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

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

Path to vulnerable library: /aws-node-vue-nuxt-ssr/node_modules/file-loader/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/url-loader/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/extract-css-chunks-webpack-plugin/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/style-resources-loader/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/css-loader/node_modules/loader-utils/package.json,/aws-node-vue-nuxt-ssr/node_modules/thread-loader/node_modules/loader-utils/package.json

Dependency Hierarchy: - nuxt-2.15.8.tgz (Root Library) - webpack-2.15.8.tgz - file-loader-6.2.0.tgz - :x: **loader-utils-2.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.

Publish Date: 2022-10-12

URL: CVE-2022-37601

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-76p3-8jx3-jpfq

Release Date: 2022-10-12

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (ts-loader): 5.4.6

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (nuxt): 2.16.0

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (babel-loader): 8.0.0

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (babel-loader): 7.0.0

Fix Resolution (loader-utils): 1.4.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.