Open mend-bolt-for-github[bot] opened 3 years 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.
: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.
CVE-2021-3807 - High Severity Vulnerability
Vulnerable Libraries - ansi-regex-3.0.0.tgz, ansi-regex-5.0.0.tgz, ansi-regex-4.1.0.tgz
ansi-regex-3.0.0.tgz
Regular expression for matching ANSI escape codes
Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz
Path to dependency file: /aws-node-typescript-apollo-lambda/package.json
Path to vulnerable library: /aws-node-typescript-apollo-lambda/node_modules/@serverless/enterprise-plugin/node_modules/ansi-regex/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-rust-simple-http-endpoint/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/string-length/node_modules/ansi-regex/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-typescript-apollo-lambda/node_modules/tabtab/node_modules/ansi-regex/package.json,/aws-node-typescript-apollo-lambda/node_modules/@serverless/inquirer/node_modules/ansi-regex/package.json,/aws-node-signed-uploads/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/jest/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/inquirer/node_modules/ansi-regex/package.json,/node_modules/ansi-regex/package.json,/aws-node-typescript-nest/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/widest-line/node_modules/ansi-regex/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-node-typescript-apollo-lambda/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-node-signed-uploads/node_modules/eslint/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/cliui/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript-simple/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/ansi-regex/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/widest-line/node_modules/ansi-regex/package.json,/aws-node-signed-uploads/node_modules/inquirer/node_modules/ansi-regex/package.json,/azure-node-line-bot/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-oauth-dropbox-api/node_modules/ansi-align/node_modules/ansi-regex/package.json,/aws-node-fullstack/backend/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/jest-runtime/node_modules/ansi-regex/package.json,/aws-node-http-api-dynamodb-local/node_modules/ansi-regex/package.json,/aws-node-oauth-dropbox-api/node_modules/table/node_modules/ansi-regex/package.json,/aws-node-oauth-dropbox-api/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-node-puppeteer/node_modules/widest-line/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/jest/node_modules/ansi-regex/package.json,/aws-dotnet-rest-api-with-dynamodb/src/DotNetServerless.Lambda/node_modules/ansi-align/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-oauth-dropbox-api/node_modules/widest-line/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/eslint/node_modules/ansi-regex/package.json,/aws-golang-auth-examples/node_modules/string-width/node_modules/ansi-regex/package.json,/azure-node-telegram-bot/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-oauth-dropbox-api/node_modules/eslint/node_modules/ansi-regex/package.json,/aws-node-typescript-nest/node_modules/pretty-format/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/string-length/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/pretty-format/node_modules/ansi-regex/package.json,/aws-node-http-api-typescript/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/pretty-format/node_modules/ansi-regex/package.json
Dependency Hierarchy: - eslint-5.15.3.tgz (Root Library) - strip-ansi-4.0.0.tgz - :x: **ansi-regex-3.0.0.tgz** (Vulnerable Library)
ansi-regex-5.0.0.tgz
Regular expression for matching ANSI escape codes
Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.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/pretty-format/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-python-http-api-with-pynamodb/node_modules/ansi-regex/package.json,/aws-node-typescript-nest/node_modules/serverless-offline/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/eslint/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/widest-line/node_modules/ansi-regex/package.json,/aws-node-s3-file-replicator/node_modules/ansi-regex/package.json,/aws-ruby-sqs-with-dynamodb/node_modules/ora/node_modules/ansi-regex/package.json
Dependency Hierarchy: - serverless-offline-6.8.0.tgz (Root Library) - boxen-4.2.0.tgz - string-width-4.2.0.tgz - strip-ansi-6.0.0.tgz - :x: **ansi-regex-5.0.0.tgz** (Vulnerable Library)
ansi-regex-4.1.0.tgz
Regular expression for matching ANSI escape codes
Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz
Path to dependency file: /aws-node-dynamic-image-resizer/package.json
Path to vulnerable library: /aws-node-dynamic-image-resizer/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-golang-auth-examples/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/inquirer/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/cliui/node_modules/ansi-regex/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/aws-rust-simple-http-endpoint/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-golang-auth-examples/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/jest-watch-typeahead/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript-simple/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-node-typescript-sqs-standard/node_modules/ansi-regex/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript-simple/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-rust-simple-http-endpoint/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-rust-simple-http-endpoint/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-node-typescript-nest/node_modules/serverless-offline/node_modules/ansi-align/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript/node_modules/cliui/node_modules/ansi-regex/package.json,/aws-node-http-api-dynamodb-local/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/aws-node-http-api-dynamodb-local/node_modules/cliui/node_modules/ansi-regex/package.json,/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/table/node_modules/ansi-regex/package.json,/aws-node-dynamic-image-resizer/node_modules/boxen/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/table/node_modules/ansi-regex/package.json,/aws-node-http-api-typescript/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript/node_modules/yargs/node_modules/ansi-regex/package.json,/aws-node-fullstack/frontend/node_modules/react-dev-utils/node_modules/ansi-regex/package.json,/aws-node-rest-api-with-dynamodb-and-offline/node_modules/yargs/node_modules/ansi-regex/package.json,/aws-node-http-api-typescript/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript-simple/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript/node_modules/boxen/node_modules/ansi-regex/package.json,/aws-golang-dynamo-stream-to-elasticsearch/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-node-rest-api-typescript/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/azure-node-typescript-servicebus-trigger-endpoint/node_modules/ansi-align/node_modules/ansi-regex/package.json,/aws-golang-auth-examples/node_modules/@serverless/components/node_modules/ansi-regex/package.json,/aws-node-typescript-apollo-lambda/node_modules/ansi-regex/package.json,/node_modules/table/node_modules/ansi-regex/package.json,/aws-node-typescript-kinesis/node_modules/ansi-regex/package.json,/aws-node-http-api-typescript/node_modules/@serverless/components/node_modules/ansi-regex/package.json,/aws-node-puppeteer/node_modules/string-width/node_modules/ansi-regex/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/inquirer/node_modules/ansi-regex/package.json,/aws-python-auth0-custom-authorizers-api/node_modules/serverless/node_modules/ansi-regex/package.json,/aws-node-http-api-dynamodb-local/node_modules/yargs/node_modules/ansi-regex/package.json
Dependency Hierarchy: - eslint-6.6.0.tgz (Root Library) - strip-ansi-5.2.0.tgz - :x: **ansi-regex-4.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
Vulnerability Details
ansi-regex is vulnerable to Inefficient Regular Expression Complexity
Publish Date: 2021-09-17
URL: CVE-2021-3807
CVSS 3 Score Details (7.5)
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: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-93q8-gq69-wqmw
Release Date: 2021-09-17
Fix Resolution (ansi-regex): 3.0.1
Direct dependency fix Resolution (eslint): 5.16.0
Fix Resolution (ansi-regex): 3.0.1
Direct dependency fix Resolution (serverless-offline): 6.9.0
Fix Resolution (ansi-regex): 3.0.1
Direct dependency fix Resolution (eslint): 6.7.0
Step up your Open Source Security Game with Mend here