CVE-2021-32820
Summary
| CVE | CVE-2021-32820 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-14 19:15:00 UTC |
| Updated | 2022-07-02 18:24:00 UTC |
| Description | Express-handlebars is a Handlebars view engine for Express. Express-handlebars mixes pure template data with engine configuration options through the Express render API. More specifically, the layout parameter may trigger file disclosure vulnerabilities in downstream applications. This potential vulnerability is somewhat restricted in that only files with existing extentions (i.e. file.extension) can be included, files that lack an extension will have .handlebars appended to them. For complete details refer to the referenced GHSL-2021-018 report. Notes in documentation have been added to help users avoid this potential information exposure vulnerability. |
Risk And Classification
Problem Types: CWE-94
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Express Handlebars Project | Express Handlebars | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| fix: use `context` property for template variables by UziTech · Pull Request #163 · express-handlebars/express-handlebars · GitHub | MISC | github.com | |
| GHSL-2021-018: File disclosure in Express Handlebars - CVE-2021-32820 | GitHub Security Lab | CONFIRM | securitylab.github.com | |
| express-handlebars - npm | MISC | www.npmjs.com | |
| express-handlebars/README.md at 78c47a235c4ad7bc2674bddd8ec2721567ed8c72 · express-handlebars/express-handlebars · GitHub | MISC | github.com | |
| fix: add note about security · express-handlebars/express-handlebars@78c47a2 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.