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

handlebars-4.1.2.min.js: 3 vulnerabilities (highest severity is: 9.8) #3

Open
dev-mend-for-github-com bot opened this issue Oct 16, 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 16, 2023

Vulnerable Library - handlebars-4.1.2.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.2/handlebars.min.js

Path to dependency file: /examples/form_l10n/forms/myOtherForm/index.html

Path to vulnerable library: /examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/forms_wizard/forms/userWarning/index.html

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (handlebars version) Remediation Possible** Reachability
CVE-2019-19919 Critical 9.8 handlebars-4.1.2.min.js Direct 4.3.0
WS-2019-0332 Medium 5.0 handlebars-4.1.2.min.js Direct handlebars - 4.5.3
WS-2019-0331 Medium 5.0 handlebars-4.1.2.min.js Direct handlebars - 4.5.2

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

Details

CVE-2019-19919

Vulnerable Library - handlebars-4.1.2.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.2/handlebars.min.js

Path to dependency file: /examples/form_l10n/forms/myOtherForm/index.html

Path to vulnerable library: /examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/forms_wizard/forms/userWarning/index.html

Dependency Hierarchy:

  • handlebars-4.1.2.min.js (Vulnerable Library)

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Found in base branch: master

Vulnerability Details

Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's proto and defineGetter properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Publish Date: 2019-12-20

URL: CVE-2019-19919

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

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

Release Date: 2019-12-20

Fix Resolution: 4.3.0

WS-2019-0332

Vulnerable Library - handlebars-4.1.2.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.2/handlebars.min.js

Path to dependency file: /examples/form_l10n/forms/myOtherForm/index.html

Path to vulnerable library: /examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/forms_wizard/forms/userWarning/index.html

Dependency Hierarchy:

  • handlebars-4.1.2.min.js (Vulnerable Library)

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Found in base branch: master

Vulnerability Details

Arbitrary Code Execution vulnerability found in handlebars before 4.5.3. Lookup helper fails to validate templates. Attack may submit templates that execute arbitrary JavaScript in the system.It is due to an incomplete fix for a WS-2019-0331.

Publish Date: 2019-11-17

URL: WS-2019-0332

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

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

Release Date: 2019-11-17

Fix Resolution: handlebars - 4.5.3

WS-2019-0331

Vulnerable Library - handlebars-4.1.2.min.js

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

Library home page: https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.1.2/handlebars.min.js

Path to dependency file: /examples/form_l10n/forms/myOtherForm/index.html

Path to vulnerable library: /examples/form_l10n/forms/myOtherForm/index.html,/examples/custom_form/forms/myForm/index.html,/examples/forms_wizard/forms/userData/index.html,/examples/dynamic_form_values/forms/myForm/index.html,/examples/forms_wizard/forms/userWarning/index.html

Dependency Hierarchy:

  • handlebars-4.1.2.min.js (Vulnerable Library)

Found in HEAD commit: cfb756aae811651de93ac8a69c7191e48bb4960f

Found in base branch: master

Vulnerability Details

Arbitrary Code Execution vulnerability found in handlebars before 4.5.2. Lookup helper fails to validate templates. Attack may submit templates that execute arbitrary JavaScript in the system.

Publish Date: 2019-11-13

URL: WS-2019-0331

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

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

Release Date: 2019-11-13

Fix Resolution: handlebars - 4.5.2

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Oct 16, 2023
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