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-23369 (Critical) detected in multiple libraries - autoclosed #93

Closed
mend-for-github-com bot opened this issue Jul 23, 2021 · 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 Jul 23, 2021

CVE-2021-23369 - Critical Severity Vulnerability

Vulnerable Libraries - handlebars-4.0.12.tgz, handlebars-4.1.2.tgz, handlebars-4.0.10.tgz, handlebars-4.0.5.tgz, handlebars-4.0.11.tgz

handlebars-4.0.12.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/github_dependency_slash/node_modules/handlebars,/npm_and_yarn/spec/fixtures/projects/npm6_and_yarn/lerna/node_modules/handlebars/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/lerna/node_modules/handlebars/package.json,/npm_and_yarn/spec/fixtures/projects/npm5/subdependency_update/node_modules/handlebars/package.json,/npm_and_yarn/spec/fixtures/projects/npm5_and_yarn/npm_subdependency_update/node_modules/handlebars/package.json

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.4.4.tgz
      • istanbul-api-1.3.7.tgz
        • istanbul-reports-1.5.1.tgz
          • handlebars-4.0.12.tgz (Vulnerable Library)
handlebars-4.1.2.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.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/handlebars/package.json,/npm_and_yarn/spec/fixtures/projects/npm6/subdependency_update/node_modules/handlebars/package.json,/npm_and_yarn/spec/fixtures/projects/npm7/subdependency_update/node_modules/handlebars/package.json

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.4.4.tgz
      • istanbul-api-1.3.7.tgz
        • istanbul-reports-1.5.1.tgz
          • handlebars-4.1.2.tgz (Vulnerable Library)
handlebars-4.0.10.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.0.10.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/no_lockfile_change/node_modules/handlebars

Dependency Hierarchy:

  • jest-22.0.4.tgz (Root Library)
    • jest-cli-22.0.4.tgz
      • istanbul-api-1.2.1.tgz
        • istanbul-reports-1.1.3.tgz
          • handlebars-4.0.10.tgz (Vulnerable Library)
handlebars-4.0.5.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.0.5.tgz

Path to dependency file: /npm_and_yarn/spec/fixtures/projects/yarn/typedoc-plugin-ui-router/package.json

Path to vulnerable library: /npm_and_yarn/spec/fixtures/projects/yarn/typedoc-plugin-ui-router/node_modules/handlebars

Dependency Hierarchy:

  • typedoc-0.5.3.tgz (Root Library)
    • handlebars-4.0.5.tgz (Vulnerable Library)
handlebars-4.0.11.tgz

Handlebars provides the power necessary to let you build semantic templates effectively with no frustration

Library home page: https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.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/handlebars

Dependency Hierarchy:

  • jest-cli-22.0.4.tgz (Root Library)
    • istanbul-api-1.2.1.tgz
      • istanbul-reports-1.1.3.tgz
        • handlebars-4.0.11.tgz (Vulnerable Library)

Found in HEAD commit: ba8cd9078c8ce0cb202767d627706711237abf71

Found in base branch: main

Vulnerability Details

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Publish Date: 2021-04-12

URL: CVE-2021-23369

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: 2021-04-12

Fix Resolution (handlebars): 4.1.2-0

Direct dependency fix Resolution (jest): 22.0.5

Fix Resolution (handlebars): 4.1.2-0

Direct dependency fix Resolution (jest): 22.0.5

Fix Resolution (handlebars): 4.1.2-0

Direct dependency fix Resolution (jest): 22.0.5

Fix Resolution (handlebars): 4.1.2-0

Direct dependency fix Resolution (typedoc): 0.6.0

Fix Resolution (handlebars): 4.1.2-0

Direct dependency fix Resolution (jest-cli): 22.0.5


⛑️ Automatic Remediation will be attempted for this issue.

@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-23369 (High) detected in multiple libraries CVE-2021-23369 (High) detected in multiple libraries - autoclosed Mar 22, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-23369 (High) detected in multiple libraries - autoclosed CVE-2021-23369 (High) detected in multiple libraries Mar 23, 2022
@mend-for-github-com
Copy link
Author

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

@mend-for-github-com mend-for-github-com bot reopened this Mar 23, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-23369 (High) detected in multiple libraries CVE-2021-23369 (Critical) detected in multiple libraries Jun 18, 2023
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.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-23369 (Critical) detected in multiple libraries CVE-2021-23369 (Critical) detected in multiple libraries - autoclosed May 5, 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