Skip to content
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

fetch-factory-0.2.1.tgz: 11 vulnerabilities (highest severity is: 9.8) #41

Open
dev-mend-for-github-com bot opened this issue Oct 23, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Oct 23, 2023

Vulnerable Library - fetch-factory-0.2.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/debug/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (fetch-factory version) Remediation Possible** Reachability
CVE-2021-44906 Critical 9.8 minimist-0.0.8.tgz Transitive N/A*
CVE-2019-10744 Critical 9.1 lodash-2.4.1.tgz Transitive N/A*
CVE-2020-8203 High 7.4 lodash-2.4.1.tgz Transitive N/A*
CVE-2021-23337 High 7.2 lodash-2.4.1.tgz Transitive N/A*
CVE-2019-1010266 Medium 6.5 lodash-2.4.1.tgz Transitive N/A*
CVE-2018-3721 Medium 6.5 lodash-2.4.1.tgz Transitive N/A*
CVE-2020-7598 Medium 5.6 minimist-0.0.8.tgz Transitive N/A*
CVE-2018-16487 Medium 5.6 lodash-2.4.1.tgz Transitive N/A*
CVE-2020-28500 Medium 5.3 lodash-2.4.1.tgz Transitive N/A*
CVE-2017-16137 Low 3.7 debug-1.0.5.tgz Transitive N/A*
CVE-2017-20165 Low 3.5 debug-1.0.5.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2021-44906

Vulnerable Library - minimist-0.0.8.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.8.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/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/os_mismatch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/mkdirp/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/os_mismatch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/minimist/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • mkdirp-0.5.1.tgz
        • minimist-0.0.8.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-03-17

Fix Resolution: minimist - 1.2.6

CVE-2019-10744

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.

Publish Date: 2019-07-25

URL: CVE-2019-10744

CVSS 3 Score Details (9.1)

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: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-jf85-cpcp-j695

Release Date: 2019-07-26

Fix Resolution: lodash-4.17.12, lodash-amd-4.17.12, lodash-es-4.17.12, lodash.defaultsdeep-4.6.1, lodash.merge- 4.6.2, lodash.mergewith-4.6.2, lodash.template-4.5.0

CVE-2020-8203

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.

Publish Date: 2020-07-15

URL: CVE-2020-8203

CVSS 3 Score Details (7.4)

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: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1523

Release Date: 2020-07-15

Fix Resolution: lodash - 4.17.19

CVE-2021-23337

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

Publish Date: 2021-02-15

URL: CVE-2021-23337

CVSS 3 Score Details (7.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-35jh-r3h4-6jhm

Release Date: 2021-02-15

Fix Resolution: lodash - 4.17.21, lodash-es - 4.17.21

CVE-2019-1010266

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fixed version is: 4.17.11.

Publish Date: 2019-07-17

URL: CVE-2019-1010266

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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

Release Date: 2019-07-17

Fix Resolution: lodash-4.17.11

CVE-2018-3721

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.
Mend Note: Converted from WS-2019-0184, on 2022-11-08.

Publish Date: 2018-04-26

URL: CVE-2018-3721

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1067

Release Date: 2018-06-07

Fix Resolution: lodash 4.17.5

CVE-2020-7598

Vulnerable Library - minimist-0.0.8.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-0.0.8.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/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/os_mismatch/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/mkdirp/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/peer_dependency_multiple/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/dist_tag/node_modules/npm/node_modules/mkdirp/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/os_mismatch/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/peer_dependency_multiple/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/minimist/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/minimist/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • mkdirp-0.5.1.tgz
        • minimist-0.0.8.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "proto" payload.

Publish Date: 2020-03-11

URL: CVE-2020-7598

CVSS 3 Score Details (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-03-11

Fix Resolution: minimist - 0.2.1,1.2.3

CVE-2018-16487

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A prototype pollution vulnerability was found in lodash <4.17.11 where the functions merge, mergeWith, and defaultsDeep can be tricked into adding or modifying properties of Object.prototype.

Publish Date: 2019-02-01

URL: CVE-2018-16487

CVSS 3 Score Details (5.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16487

Release Date: 2019-02-01

Fix Resolution: 4.17.11

CVE-2020-28500

Vulnerable Library - lodash-2.4.1.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/nock/node_modules/lodash/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/nock/node_modules/lodash/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • lodash-2.4.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Mend Note: After conducting further research, Mend has determined that CVE-2020-28500 only affects environments with versions 4.0.0 to 4.17.20 of Lodash.

Publish Date: 2021-02-15

URL: CVE-2020-28500

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28500

Release Date: 2021-02-15

Fix Resolution: lodash - 4.17.21

CVE-2017-16137

Vulnerable Library - debug-1.0.5.tgz

small debugging utility

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

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/debug/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • debug-1.0.5.tgz (Vulnerable Library)

Found in base branch: main

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-04-26

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://nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-16137

Release Date: 2018-04-26

Fix Resolution: 2.6.9

CVE-2017-20165

Vulnerable Library - debug-1.0.5.tgz

small debugging utility

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

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm8/minor_version_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/resolution_specified/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm8/lerna/packages/package2/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/wildcard/node_modules/debug/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/blank_requirement/node_modules/debug/package.json

Dependency Hierarchy:

  • fetch-factory-0.2.1.tgz (Root Library)
    • nock-2.18.2.tgz
      • debug-1.0.5.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A vulnerability classified as problematic has been found in debug-js debug up to 3.0.x. This affects the function useColors of the file src/node.js. The manipulation of the argument str leads to inefficient regular expression complexity. Upgrading to version 3.1.0 is able to address this issue. The identifier of the patch is c38a0166c266a679c8de012d4eaccec3f944e685. It is recommended to upgrade the affected component. The identifier VDB-217665 was assigned to this vulnerability.

Publish Date: 2023-01-09

URL: CVE-2017-20165

CVSS 3 Score Details (3.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Adjacent
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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: GHSA-9vvw-cc9w-f27h

Release Date: 2023-01-09

Fix Resolution: debug - 2.6.9,3.1.0

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Oct 23, 2023
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title fetch-factory-0.2.1.tgz: 10 vulnerabilities (highest severity is: 9.8) fetch-factory-0.2.1.tgz: 11 vulnerabilities (highest severity is: 9.8) Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants