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.
References
Link | Resource |
---|---|
https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/ | Exploit Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/ | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 06:07
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 4.0 |
References | () https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/ - Exploit, Third Party Advisory |
Information
Published : 2021-08-16 19:15
Updated : 2024-11-21 06:07
NVD link : CVE-2021-32822
Mitre link : CVE-2021-32822
CVE.ORG link : CVE-2021-32822
JSON object : View
Products Affected
hbs_project
- hbs