-
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-2020-15168 (Medium) detected in multiple libraries - autoclosed #48
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-2020-15168 - Medium Severity Vulnerability
Vulnerable Libraries - node-fetch-2.3.0.tgz, node-fetch-1.6.3.tgz, node-fetch-2.1.2.tgz, node-fetch-1.7.3.tgz
node-fetch-2.3.0.tgz
A light-weight module that brings window.fetch to node.js
Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.3.0.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/node-fetch
Dependency Hierarchy:
node-fetch-1.6.3.tgz
A light-weight module that brings window.fetch to node.js and io.js
Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-1.6.3.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/yanked_version/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/yanked_version/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/yarn/optional_dependencies/node_modules/node-fetch
Dependency Hierarchy:
node-fetch-2.1.2.tgz
A light-weight module that brings window.fetch to node.js
Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/node-fetch
Dependency Hierarchy:
node-fetch-1.7.3.tgz
A light-weight module that brings window.fetch to node.js and io.js
Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz
Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/tarball_bug/package.json
Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/tarball_bug/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_mismatch_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_switch/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/monorepo_dep_multiple/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/monorepo_dep_multiple_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/exact_version_requirements/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_changed/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_git_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency_changed/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_nested/packages/package1/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm5/git_sub_dep_invalid/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/github_dependency_commit_ref/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/monorepo_dep_single_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/github_dependency_commit_ref/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/exact_version_requirements_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm6/duplicate/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/aliased_dependency/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm6/tarball_bug/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/multiple_sources/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/optional_dependencies/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_switch/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_no_lockfile/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_duplicate_nested_no_lockfile/packages/package1/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/git_sub_dep_invalid_from/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/yarnrc_npm_registry/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/yarn/duplicate_indirect_dependency/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm7/peer_dependency/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/nonexistent_dependency_yanked_version/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm7/duplicate_identical/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/aliased_dependency_name/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_duplicate_nested_no_lockfile/packages/package2/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/minor_version_specified/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_switch/node_modules/node-fetch,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/node-fetch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_shrinkwrap/node_modules/node-fetch/package.json
Dependency Hierarchy:
Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71
Found in base branch: main
Vulnerability Details
node-fetch before versions 2.6.1 and 3.0.0-beta.9 did not honor the size option after following a redirect, which means that when a content size was over the limit, a FetchError would never get thrown and the process would end without failure. For most people, this fix will have a little or no impact. However, if you are relying on node-fetch to gate files above a size, the impact could be significant, for example: If you don't double-check the size of the data after fetch() has completed, your JS thread could get tied up doing work on a large file (DoS) and/or cost you money in computing.
Publish Date: 2020-09-10
URL: CVE-2020-15168
CVSS 3 Score Details (5.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-w7rc-rwvf-8q5r
Release Date: 2020-09-17
Fix Resolution (node-fetch): 2.6.1
Direct dependency fix Resolution (graphql-cli): 4.1.0
Fix Resolution (node-fetch): 2.6.1
Direct dependency fix Resolution (graphql-cli): 4.1.0
Fix Resolution (node-fetch): 2.6.1
Direct dependency fix Resolution (react): 16.5.0
⛑️ Automatic Remediation will be attempted for this issue.
The text was updated successfully, but these errors were encountered: