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

CVE-2021-35065 (High) detected in multiple libraries - autoclosed #430

Closed
mend-for-github-com bot opened this issue Jan 11, 2022 · 3 comments
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jan 11, 2022

CVE-2021-35065 - High Severity Vulnerability

Vulnerable Libraries - glob-parent-5.1.2.tgz, glob-parent-3.1.0.tgz, glob-parent-2.0.0.tgz

glob-parent-5.1.2.tgz

Extract the non-magic parent path from a glob string.

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.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/glob-parent/package.json,/npm_and_yarn/helpers/node_modules/glob-parent/package.json

Dependency Hierarchy:

  • eslint-7.31.0.tgz (Root Library)
    • glob-parent-5.1.2.tgz (Vulnerable Library)
glob-parent-3.1.0.tgz

Strips glob magic from a string to provide the parent directory path

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz

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

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/node_modules/glob-parent,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/multiple_sources/node_modules/glob-parent/package.json

Dependency Hierarchy:

  • lerna-3.6.0.tgz (Root Library)
    • add-3.6.0.tgz
      • command-3.6.0.tgz
        • project-3.6.0.tgz
          • glob-parent-3.1.0.tgz (Vulnerable Library)
glob-parent-2.0.0.tgz

Strips glob magic from a string to provide the parent path

Library home page: https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/glob-parent,/npm_and_yarn/spec/fixtures/projects/npm6/path_dependency/deps/etag/node_modules/glob-parent/package.json,/npm_and_yarn/helpers/node_modules/glob-base/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/app_no_version/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/npm_subdependency_update/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/path_dependency/deps/etag/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/etag_no_lockfile/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/path_dependency/deps/etag/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/node_modules/glob-parent,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/library/node_modules/glob-parent/package.json,/npm_and_yarn/spec/fixtures/projects/yarn/lockfile_only_change/node_modules/glob-parent

Dependency Hierarchy:

  • yarn-lib-1.21.1.tgz (Root Library)
    • micromatch-2.3.11.tgz
      • parse-glob-3.0.4.tgz
        • glob-base-0.3.0.tgz
          • glob-parent-2.0.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

The package glob-parent before 6.0.1 are vulnerable to Regular Expression Denial of Service (ReDoS)

Publish Date: 2021-06-22

URL: CVE-2021-35065

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

Origin: GHSA-cj88-88mr-972w

Release Date: 2021-06-22

Fix Resolution (glob-parent): 6.0.1

Direct dependency fix Resolution (eslint): 8.0.0

Fix Resolution (glob-parent): 6.0.1

Direct dependency fix Resolution (lerna): 5.1.8


⛑️ Automatic Remediation is available for this issue

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 11, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-35065 (High) detected in multiple libraries CVE-2021-35065 (High) detected in multiple libraries - autoclosed Jan 11, 2022
@mend-for-github-com
Copy link
Author

✔️ 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.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-35065 (High) detected in multiple libraries - autoclosed CVE-2021-35065 (High) detected in glob-parent-2.0.0.tgz Jul 25, 2022
@mend-for-github-com
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-for-github-com mend-for-github-com bot reopened this Jul 25, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-35065 (High) detected in glob-parent-2.0.0.tgz CVE-2021-35065 (High) detected in multiple libraries Jul 25, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-35065 (High) detected in multiple libraries CVE-2021-35065 (High) detected in multiple libraries - autoclosed Jul 28, 2022
@mend-for-github-com
Copy link
Author

✔️ 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.

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