5.3

CVE-2021-32822: hbs_project hbs

CVSS: 5.3v3.1MediumModified
AliasesGHSA-7f5c-rpf4-86p8
Published 16-08-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32822 is a medium (CVSS 5.3) vulnerability in hbs_project hbs. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 66.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.13%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 16-08-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.13%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

-0.05 pp

From 1.18% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Ghsl 2021 020 Pillarjs Hbs

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Hbs_project1 product
Npm1 product
  • hbs≤ 4.1.2
Pillarjs1 product

3 vendors · 3 products

References

4 links