Dima2021 / juice-shop

OWASP Juice Shop: Probably the most modern and sophisticated insecure web application
https://owasp-juice.shop
MIT License
0 stars 0 forks source link

hbs-4.2.0.tgz: 1 vulnerabilities (highest severity is: 5.3) #203

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - hbs-4.2.0.tgz

Express.js template engine plugin for Handlebars

Library home page: https://registry.npmjs.org/hbs/-/hbs-4.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/hbs/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (hbs version) Remediation Available
CVE-2021-32822 Medium 5.3 hbs-4.2.0.tgz Direct hbs - 4.1.2

Details

CVE-2021-32822 ### Vulnerable Library - hbs-4.2.0.tgz

Express.js template engine plugin for Handlebars

Library home page: https://registry.npmjs.org/hbs/-/hbs-4.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/hbs/package.json

Dependency Hierarchy: - :x: **hbs-4.2.0.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

The npm hbs package is an Express view engine wrapper for Handlebars. Depending on usage, users of hbs may be vulnerable to a file disclosure vulnerability. There is currently no patch for this vulnerability. hbs mixes pure template data with engine configuration options through the Express render API. By overwriting internal configuration options a file disclosure vulnerability may be triggered in downstream applications. For an example PoC see the referenced GHSL-2021-020.

Publish Date: 2021-08-16

URL: CVE-2021-32822

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2021-32822

Release Date: 2021-08-16

Fix Resolution: hbs - 4.1.2

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.