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

enzyme-2.9.1.tgz: 2 vulnerabilities (highest severity is: 9.1) #79

Open
mend-bolt-for-github bot opened this issue Mar 23, 2022 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Mar 23, 2022

Vulnerable Library - enzyme-2.9.1.tgz

Path to dependency file: /react-google-map-apis/package.json

Path to vulnerable library: /tmp/git/react-google-map-apis/node_modules/lodash.merge/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (enzyme version) Remediation Possible**
CVE-2019-10744 Critical 9.1 lodash.merge-4.6.1.tgz Transitive 3.0.0
CVE-2021-3803 High 7.5 nth-check-1.0.2.tgz Transitive 3.0.0

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

Details

CVE-2019-10744

Vulnerable Library - lodash.merge-4.6.1.tgz

The Lodash method `_.merge` exported as a module.

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

Path to dependency file: /react-google-map-apis/package.json

Path to vulnerable library: /tmp/git/react-google-map-apis/node_modules/lodash.merge/package.json

Dependency Hierarchy:

  • enzyme-2.9.1.tgz (Root Library)
    • cheerio-0.22.0.tgz
      • lodash.merge-4.6.1.tgz (Vulnerable Library)

Found in base branch: master

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

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.merge): 4.6.2

Direct dependency fix Resolution (enzyme): 3.0.0

Step up your Open Source Security Game with Mend here

CVE-2021-3803

Vulnerable Library - nth-check-1.0.2.tgz

performant nth-check parser & compiler

Library home page: https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz

Path to dependency file: /react-google-map-apis/package.json

Path to vulnerable library: /tmp/git/react-google-map-apis/node_modules/nth-check/package.json

Dependency Hierarchy:

  • enzyme-2.9.1.tgz (Root Library)
    • cheerio-0.22.0.tgz
      • css-select-1.2.0.tgz
        • nth-check-1.0.2.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

nth-check is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3803

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

Release Date: 2021-09-17

Fix Resolution (nth-check): 2.0.1

Direct dependency fix Resolution (enzyme): 3.0.0

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 23, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title enzyme-2.9.1.tgz: 1 vulnerabilities (highest severity is: 9.1) enzyme-2.9.1.tgz: 2 vulnerabilities (highest severity is: 9.1) Mar 17, 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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants