dhis2-club-tanzania / dhis2-period

Typescript library for period services for DHIS2
GNU Lesser General Public License v3.0
0 stars 3 forks source link

WS-2019-0333 (Medium) detected in handlebars-4.2.0.tgz #23

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 4 years ago

WS-2019-0333 - Medium Severity Vulnerability

Vulnerable Library - handlebars-4.2.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-4.2.0.tgz

Path to dependency file: /tmp/ws-scm/dhis2-period/package.json

Path to vulnerable library: /tmp/ws-scm/dhis2-period/node_modules/handlebars/package.json

Dependency Hierarchy: - jest-24.9.0.tgz (Root Library) - jest-cli-24.9.0.tgz - core-24.9.0.tgz - reporters-24.9.0.tgz - istanbul-reports-2.2.6.tgz - :x: **handlebars-4.2.0.tgz** (Vulnerable Library)

Found in HEAD commit: 4c2d2a0e9dfecc55cecd27c3a2b67ecaa677ab19

Vulnerability Details

Prototype Pollution vulnerability found in handlebars 1.0.6 before 4.5.3. It is possible to add or modify properties to the Object prototype through a malicious template. Attacker may crash the application or execute Arbitrary Code in specific conditions.

Publish Date: 2019-11-18

URL: WS-2019-0333

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

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

Release Date: 2019-12-05

Fix Resolution: handlebars - 4.5.3


Step up your Open Source Security Game with WhiteSource here

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.