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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2021-08-16T18:45:10
Updated: 2024-08-03T23:33:55.940Z
Reserved: 2021-05-12T00:00:00
Link: CVE-2021-32822
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2021-08-16T19:15:14.083
Modified: 2022-07-02T18:23:07.957
Link: CVE-2021-32822
Redhat
No data.