CVE-2021-32822CWE-538

File disclosure in hbs

Medium · published August 16, 2021

CVSS v3.1
4.0
EPSS
1%
Percentile
66.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01131 · 66.2th percentile
Weakness
CWE-538 · Insertion of Sensitive Information into Externally-Accessible File or Directory
Published
2021-08-16T18:45Z
EPSS history
Timeline
  • 16 AUG 18:45Z
    File disclosure in hbs
    cvelistv5