mirror of
https://github.com/0xMarcio/cve.git
synced 2026-05-25 20:57:49 +02:00
18 lines
1.0 KiB
Markdown
18 lines
1.0 KiB
Markdown
### [CVE-2021-32822](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32822)
|
|

|
|

|
|

|
|
|
|
### 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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://securitylab.github.com/advisories/GHSL-2021-020-pillarjs-hbs/
|
|
|
|
#### Github
|
|
- https://github.com/tddouglas/tylerdouglas.co
|
|
|