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-0536 (Medium) detected in multiple libraries #305

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-0536 - Medium Severity Vulnerability

Vulnerable Libraries - follow-redirects-1.14.1.tgz, follow-redirects-1.14.5.tgz, follow-redirects-1.5.10.tgz, follow-redirects-1.7.0.tgz, follow-redirects-1.6.0.tgz

follow-redirects-1.14.1.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz

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

Path to vulnerable library: /aws-node-typescript-nest/node_modules/follow-redirects/package.json

Dependency Hierarchy: - common-5.5.0.tgz (Root Library) - axios-0.18.0.tgz - :x: **follow-redirects-1.14.1.tgz** (Vulnerable Library)

follow-redirects-1.14.5.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz

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

Path to vulnerable library: /aws-node-fullstack/backend/node_modules/follow-redirects/package.json,/azure-node-line-bot/node_modules/@azure/ms-rest-js/node_modules/follow-redirects/package.json,/azure-node-telegram-bot/node_modules/follow-redirects/package.json,/aws-node-twilio-send-text-message/node_modules/follow-redirects/package.json,/aws-node-vue-nuxt-ssr/node_modules/follow-redirects/package.json

Dependency Hierarchy: - serverless-azure-functions-2.1.3.tgz (Root Library) - arm-resources-1.1.0.tgz - ms-rest-js-1.11.2.tgz - axios-0.21.4.tgz - :x: **follow-redirects-1.14.5.tgz** (Vulnerable Library)

follow-redirects-1.5.10.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz

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

Path to vulnerable library: /aws-node-dynamic-image-resizer/node_modules/follow-redirects/package.json,/aws-golang-auth-examples/node_modules/follow-redirects/package.json,/aws-node-vue-nuxt-ssr/node_modules/axios/node_modules/follow-redirects/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/follow-redirects/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/follow-redirects/package.json,/azure-node-line-bot/node_modules/follow-redirects/package.json,/aws-node-rest-api-typescript-simple/node_modules/follow-redirects/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/follow-redirects/package.json,/google-node-typescript-http-endpoint/node_modules/follow-redirects/package.json,/aws-node-http-api-typescript/node_modules/follow-redirects/package.json,/aws-rust-simple-http-endpoint/node_modules/follow-redirects/package.json,/aws-node-typescript-apollo-lambda/node_modules/follow-redirects/package.json,/azure-node-telegram-bot/node_modules/axios/node_modules/follow-redirects/package.json

Dependency Hierarchy: - serverless-1.83.3.tgz (Root Library) - enterprise-plugin-3.8.4.tgz - platform-client-1.1.10.tgz - axios-0.19.2.tgz - :x: **follow-redirects-1.5.10.tgz** (Vulnerable Library)

follow-redirects-1.7.0.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.7.0.tgz

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

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

Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - webpack-dev-server-3.1.14.tgz - http-proxy-middleware-0.18.0.tgz - http-proxy-1.17.0.tgz - :x: **follow-redirects-1.7.0.tgz** (Vulnerable Library)

follow-redirects-1.6.0.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.6.0.tgz

Path to dependency file: /aws-node-heroku-postgres/package.json

Path to vulnerable library: /aws-node-heroku-postgres/node_modules/follow-redirects/package.json

Dependency Hierarchy: - axios-0.18.0.tgz (Root Library) - :x: **follow-redirects-1.6.0.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

Improper Removal of Sensitive Information Before Storage or Transfer in NPM follow-redirects prior to 1.14.8.

Publish Date: 2022-02-09

URL: CVE-2022-0536

CVSS 3 Score Details (5.9)

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

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-0536

Release Date: 2022-02-09

Fix Resolution (follow-redirects): 1.14.8

Direct dependency fix Resolution (@nestjs/common): 5.6.0

Fix Resolution (follow-redirects): 1.14.8

Direct dependency fix Resolution (serverless): 2.0.0-05627d62

Fix Resolution (follow-redirects): 1.14.8

Direct dependency fix Resolution (react-scripts): 3.0.0

Fix Resolution (follow-redirects): 1.14.8

Direct dependency fix Resolution (axios): 0.20.0-0


Step up your Open Source Security Game with Mend here