lukebrogan-mend / juice-shop

MIT License
0 stars 0 forks source link

hbs-4.2.0.tgz: 1 vulnerabilities (highest severity is: 6.3) #20

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

mend-for-github-com[bot] commented 1 month 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

Found in HEAD commit: 3384ce87c5a64fda38e1585006d79c93f4e126a3

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (hbs version) Remediation Possible** Reachability
CVE-2021-32822 Medium 6.3 Not Defined 0.2% hbs-4.2.0.tgz Direct N/A

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

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 HEAD commit: 3384ce87c5a64fda38e1585006d79c93f4e126a3

Found in base branch: main

### 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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

### CVSS 4 Score Details (6.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 Scores, click here.