-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2021-3807 (High) detected in multiple libraries - autoclosed #300
Comments
✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory. |
ℹ️ This issue was automatically re-opened by WhiteSource because the vulnerable library in the specific branch(es) has been detected in the WhiteSource inventory. |
✔️ 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. |
CVE-2021-3807 - High Severity Vulnerability
Vulnerable Libraries - ansi-regex-5.0.0.tgz, ansi-regex-4.1.0.tgz, ansi-regex-4.0.0.tgz, ansi-regex-3.0.0.tgz
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: /npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_typescript_no_lockfile/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_typescript_no_lockfile/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/ansi-regex/package.json
Dependency Hierarchy:
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: /npm_and_yarn/helpers/package.json
Path to vulnerable library: /npm_and_yarn/helpers/node_modules/inquirer/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/workspaces_incorrect_version/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/workspaces_incorrect_version/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/workspaces_incorrect_version/node_modules/showdown/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/npm/node_modules/yargs/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/npm/node_modules/cliui/node_modules/ansi-regex/package.json
Dependency Hierarchy:
ansi-regex-4.0.0.tgz
Regular expression for matching ANSI escape codes
Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.0.0.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/lerna/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/inquirer/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/inquirer/node_modules/strip-ansi/node_modules/ansi-regex/package.json
Dependency Hierarchy:
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: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/ansi-regex,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/helpers/node_modules/npm/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/inquirer/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/etag_no_lockfile/node_modules/table/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/inquirer/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/path_dependency/deps/etag/node_modules/table/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/path_dependency/deps/etag/node_modules/table/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/library/node_modules/table/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/path_dependency/deps/etag/node_modules/table/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/yargs/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/ansi-regex,/npm_and_yarn/helpers/node_modules/inquirer/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/cliui/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/node_modules/ansi-regex,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/jest/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/pretty-format/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/string-width/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/string-length/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/node_modules/ansi-regex,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/yargs/node_modules/ansi-regex/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/ansi-regex
Dependency Hierarchy:
Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71
Found in base branch: main
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:
Suggested Fix
Type: Upgrade version
Origin: https://huntr.dev/bounties/5b3cf33b-ede0-4398-9974-800876dfd994/
Release Date: 2021-09-17
Fix Resolution (ansi-regex): 5.0.1
Direct dependency fix Resolution (eslint): 7.32.0
Fix Resolution (ansi-regex): 5.0.1
Direct dependency fix Resolution (@dependabot/yarn-lib): 1.22.19
Fix Resolution (ansi-regex): 5.0.1
Direct dependency fix Resolution (lerna): 3.7.0
Fix Resolution (ansi-regex): 5.0.1
Direct dependency fix Resolution (graphql-cli): 3.0.4
⛑️ Automatic Remediation will be attempted for this issue.
The text was updated successfully, but these errors were encountered: