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-2017-16137 (Low) detected in multiple libraries #10

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

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

CVE-2017-16137 - Low Severity Vulnerability

Vulnerable Libraries - debug-0.7.4.tgz, debug-4.1.1.tgz, debug-3.2.6.tgz, debug-4.2.0.tgz, debug-4.1.0.tgz

debug-0.7.4.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-0.7.4.tgz

Path to dependency file: /aws-node-scheduled-weather/package.json

Path to vulnerable library: /aws-node-scheduled-weather/node_modules/debug/package.json

Dependency Hierarchy: - forecast.io-0.0.11.tgz (Root Library) - :x: **debug-0.7.4.tgz** (Vulnerable Library)

debug-4.1.1.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-4.1.1.tgz

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

Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/https-proxy-agent/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/agent-base/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/eslint/node_modules/debug/package.json,/aws-node-typescript-kinesis/node_modules/eslint/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/socket.io-client/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/engine.io-client/node_modules/debug/package.json,/azure-node-telegram-bot/node_modules/azure-functions-core-tools/node_modules/debug/package.json,/node_modules/debug/package.json,/aws-node-typescript-sqs-standard/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/serverless-azure-functions/node_modules/azure-functions-core-tools/node_modules/debug/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/azure-functions-core-tools/node_modules/debug/package.json,/aws-node-fullstack/frontend/node_modules/debug/package.json,/azure-node-line-bot/node_modules/azure-functions-core-tools/node_modules/debug/package.json,/aws-node-typescript-sqs-standard/node_modules/eslint/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/tabtab/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/simple-git/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/@serverless/platform-sdk/node_modules/debug/package.json

Dependency Hierarchy: - eslint-6.6.0.tgz (Root Library) - :x: **debug-4.1.1.tgz** (Vulnerable Library)

debug-3.2.6.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-3.2.6.tgz

Path to dependency file: /azure-node-typescript-servicebus-trigger-endpoint/package.json

Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/portfinder/node_modules/debug/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/rhea/node_modules/debug/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/@azure/amqp-common/node_modules/debug/package.json,/aws-node-fullstack/backend/node_modules/prompt-base/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/superagent/node_modules/debug/package.json,/aws-node-fullstack/backend/node_modules/prompt-question/node_modules/debug/package.json,/aws-node-typescript-apollo-lambda/node_modules/portfinder/node_modules/debug/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/superagent/node_modules/debug/package.json,/aws-node-fullstack/frontend/node_modules/webpack-dev-server/node_modules/debug/package.json,/aws-node-rest-api-typescript/node_modules/mocha/node_modules/debug/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/rhea-promise/node_modules/debug/package.json,/aws-node-github-check/node_modules/@babel/traverse/node_modules/debug/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/debug/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/https-proxy-agent/node_modules/debug/package.json,/aws-node-http-api-dynamodb-local/node_modules/debug/package.json,/aws-node-github-check/node_modules/@babel/core/node_modules/debug/package.json,/aws-node-fullstack/frontend/node_modules/follow-redirects/node_modules/debug/package.json,/aws-node-fullstack/frontend/node_modules/sockjs-client/node_modules/debug/package.json,/aws-node-fullstack/frontend/node_modules/istanbul-lib-source-maps/node_modules/debug/package.json

Dependency Hierarchy: - serverless-offline-3.31.0.tgz (Root Library) - core-7.1.2.tgz - :x: **debug-3.2.6.tgz** (Vulnerable Library)

debug-4.2.0.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-4.2.0.tgz

Path to dependency file: /azure-node-typescript-servicebus-trigger-endpoint/package.json

Path to vulnerable library: /azure-node-typescript-servicebus-trigger-endpoint/node_modules/debug/package.json

Dependency Hierarchy: - service-bus-1.1.10.tgz (Root Library) - :x: **debug-4.2.0.tgz** (Vulnerable Library)

debug-4.1.0.tgz

small debugging utility

Library home page: https://registry.npmjs.org/debug/-/debug-4.1.0.tgz

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

Path to vulnerable library: /aws-node-typescript-nest/node_modules/@babel/core/node_modules/debug/package.json,/aws-node-typescript-nest/node_modules/@babel/traverse/node_modules/debug/package.json

Dependency Hierarchy: - serverless-plugin-optimize-4.0.2-rc.1.tgz (Root Library) - core-7.2.0.tgz - :x: **debug-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue.

Publish Date: 2018-06-07

URL: CVE-2017-16137

CVSS 3 Score Details (3.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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://github.com/advisories/GHSA-gxpj-cx7g-858c

Release Date: 2018-06-07

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (eslint): 6.7.0

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (serverless-offline): 3.31.1

Fix Resolution (debug): 2.6.9

Direct dependency fix Resolution (@azure/service-bus): 7.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.