Lucene search

K
cvelistGitHub_MCVELIST:CVE-2021-32822
HistoryAug 16, 2021 - 6:45 p.m.

CVE-2021-32822 File disclosure in hbs

2021-08-1618:45:10
CWE-538
GitHub_M
www.cve.org

4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

0.002 Low

EPSS

Percentile

60.4%

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.

CNA Affected

[
  {
    "product": "hbs",
    "vendor": "pillarjs",
    "versions": [
      {
        "status": "affected",
        "version": "all"
      }
    ]
  }
]

4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

0.002 Low

EPSS

Percentile

60.4%

Related for CVELIST:CVE-2021-32822