-
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-23362 (Medium) detected in multiple libraries - autoclosed #89
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-23362 - Medium Severity Vulnerability
Vulnerable Libraries - hosted-git-info-2.6.0.tgz, hosted-git-info-2.5.0.tgz, hosted-git-info-2.7.1.tgz
hosted-git-info-2.6.0.tgz
Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Library home page: https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/node_modules/hosted-git-info
Dependency Hierarchy:
hosted-git-info-2.5.0.tgz
Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Library home page: https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.5.0.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/hosted-git-info,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/hosted-git-info,/npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/hosted-git-info
Dependency Hierarchy:
hosted-git-info-2.7.1.tgz
Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Library home page: https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.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/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/git_dependency_local_file/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/git_dependency_local_file/node_modules/hosted-git-info,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/hosted-git-info/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/git_dependency_local_file/node_modules/hosted-git-info/package.json
Dependency Hierarchy:
Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71
Found in base branch: main
Vulnerability Details
The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.
Publish Date: 2021-03-23
URL: CVE-2021-23362
CVSS 3 Score Details (5.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-43f8-2h32-f4cj
Release Date: 2021-03-23
Fix Resolution (hosted-git-info): 2.8.9
Direct dependency fix Resolution (npm): 5.10.0
Fix Resolution (hosted-git-info): 2.8.9
Direct dependency fix Resolution (graphql-cli): 3.0.4
Fix Resolution (hosted-git-info): 2.8.9
Direct dependency fix Resolution (jest): 22.0.5
⛑️ Automatic Remediation will be attempted for this issue.
The text was updated successfully, but these errors were encountered: