Skip to content

WS-2015-0003 (Medium) detected in handlebars-1.3.0.tgz, handlebars-1.0.12.tgz - autoclosed #36

Closed
@mend-bolt-for-github

Description

@mend-bolt-for-github

WS-2015-0003 - Medium Severity Vulnerability

Vulnerable Libraries - handlebars-1.3.0.tgz, handlebars-1.0.12.tgz

handlebars-1.3.0.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-1.3.0.tgz

Path to dependency file: /E-voting-using-blockchain/evoting app/src/bower_components/bootstrap-colorpicker/package.json

Path to vulnerable library: /tmp/git/E-voting-using-blockchain/evoting app/src/bower_components/bootstrap-colorpicker/node_modules/handlebars-helpers/node_modules/handlebars/package.json

Dependency Hierarchy:

  • grunt-assemble-0.4.0.tgz (Root Library)
    • assemble-handlebars-0.3.0.tgz
      • handlebars-helpers-0.5.8.tgz
        • handlebars-1.3.0.tgz (Vulnerable Library)
handlebars-1.0.12.tgz

Extension of the Mustache logicless template language

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

Path to dependency file: /E-voting-using-blockchain/evoting app/src/bower_components/morris.js/package.json

Path to vulnerable library: /tmp/git/E-voting-using-blockchain/evoting app/src/bower_components/morris.js/node_modules/handlebars/package.json

Dependency Hierarchy:

  • bower-1.2.8.tgz (Root Library)
    • handlebars-1.0.12.tgz (Vulnerable Library)

Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad

Vulnerability Details

Quoteless Attributes in Templates can lead to Content Injection

Publish Date: 2015-12-14

URL: WS-2015-0003

CVSS 2 Score Details (5.3)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://nodesecurity.io/advisories/61

Release Date: 2015-12-14

Fix Resolution: If you are unable to upgrade to version 4.0.0 or greater you can add quotes to your attributes in your handlebar templates.


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions