CVE-2021-32817
Express-hbs File Disclosure Vulnerability
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.
INFO
Published Date :
May 14, 2021, 7:15 p.m.
Last Modified :
July 2, 2022, 6:24 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.0
Exploitability Score :
2.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-32817
.
URL | Resource |
---|---|
https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerability | Release Notes Third Party Advisory |
https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500e | Patch Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/ | Exploit Patch Third Party Advisory |
https://www.npmjs.com/package/express-hbs | Product |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-32817
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-32817
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 02, 2022
Action Type Old Value New Value Added CWE NIST CWE-94 -
Initial Analysis by [email protected]
May. 19, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N Changed Reference Type https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerability No Types Assigned https://github.com/TryGhost/express-hbs#%EF%B8%8F-this-creates-a-potential-security-vulnerability Release Notes, Third Party Advisory Changed Reference Type https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500e No Types Assigned https://github.com/TryGhost/express-hbs/commit/ff6fad6e357699412d4e916273314e5e7af1500e Patch, Third Party Advisory Changed Reference Type https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/ No Types Assigned https://securitylab.github.com/advisories/GHSL-2021-019-express-hbs/ Exploit, Patch, Third Party Advisory Changed Reference Type https://www.npmjs.com/package/express-hbs No Types Assigned https://www.npmjs.com/package/express-hbs Product Added CPE Configuration OR *cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:* versions up to (including) 5.3.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-32817
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-32817
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} 0.02%
score
0.52812
percentile