CVE-2021-32817
Last modified
CVE-2021-32817 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. express-hbs is an Express handlebars template engine. express-hbs mixes pure template data with engine configuration options through the Express render API. EPSS estimates a 1.27% chance of exploitation in the next 30 days.
Description
express-hbs is an Express handlebars template engine. express-hbs 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 .hbs appended to them. For complete details refer to the referenced GHSL-2021-019 report. Notes in documentation have been added to help users of express-hbs avoid this potential information exposure vulnerability.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Express Handlebars Project | Express Handlebars | <= 5.3.2 |
References
- https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerabilityRelease Notes, Third Party Advisory
- https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500ePatch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/Exploit, Patch, Third Party Advisory
- https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerabilityRelease Notes, Third Party Advisory
- https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500ePatch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32817?
How severe is CVE-2021-32817?
How do I fix CVE-2021-32817?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32811Zope is an open-source web application server. Zope versions…7.2
- CVE-2021-32812Monkshu is an enterprise application server for mobile apps …6.1
- CVE-2021-32813Traefik is an HTTP reverse proxy and load balancer. Prior to…8.1
- CVE-2021-32814Skytable is a NoSQL database with automated snapshots and TL…8.1
- CVE-2021-32815Exiv2 is a command-line utility and C++ library for reading,…5.5
- CVE-2021-32816ProtonMail Web Client is the official AngularJS web client f…7.5
- CVE-2021-32818haml-coffee is a JavaScript templating solution. haml-coffee…5.4
- CVE-2021-32819Squirrelly is a template engine implemented in JavaScript th…8.8
- CVE-2021-3282HashiCorp Vault Enterprise 1.6.0 & 1.6.1 allowed the `remove…7.5
- CVE-2021-32820Express-handlebars is a Handlebars view engine for Express. …8.6
- CVE-2021-32821MooTools is a collection of JavaScript utilities for JavaScr…7.5
- CVE-2021-32822The npm hbs package is an Express view engine wrapper for Ha…5.3
Are you affected by CVE-2021-32817?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
