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

WS-2015-0003 (Medium) detected in handlebars-3.0.3.min.js, handlebars-1.0.12.tgz - autoclosed #17

Closed
mend-for-github-com bot opened this issue Jun 14, 2019 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

WS-2015-0003 - Medium Severity Vulnerability

Vulnerable Libraries - handlebars-3.0.3.min.js, handlebars-1.0.12.tgz

handlebars-3.0.3.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/3.0.3/handlebars.min.js

Path to vulnerable library: /librenms/html/js/handlebars.min.js

Dependency Hierarchy:

  • handlebars-3.0.3.min.js (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: /librenms/lib/Leaflet.markercluster/package.json

Path to vulnerable library: /tmp/git/librenms/lib/Leaflet.markercluster/node_modules/handlebars/package.json

Dependency Hierarchy:

  • karma-0.8.8.tgz (Root Library)
    • istanbul-0.1.46.tgz
      • handlebars-1.0.12.tgz (Vulnerable Library)

Found in HEAD commit: 6786bd528ec13c78dcbf535eebc40667f6da79a3

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

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 14, 2019
@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 WS-2015-0003 (Medium) detected in handlebars-3.0.3.min.js, handlebars-1.0.12.tgz WS-2015-0003 (Medium) detected in handlebars-3.0.3.min.js, handlebars-1.0.12.tgz - autoclosed May 6, 2022
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