SCA: security update for hbs (GHSA-7f5c-rpf4-86p8)

medium Tenable Cloud Security Plugin ID 477660

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-32822)

Solution

There is no known solution at this time.

See Also

https://github.com/advisories/GHSA-7f5c-rpf4-86p8

Plugin Details

Severity: Medium

ID: 477660

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2021-32822

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/2/2021

Vulnerability Publication Date: 8/16/2021

Reference Information

CVE: CVE-2021-32822