CVE-2021-32820
CVSS V2 Medium 5
CVSS V3 High 8.6
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.
Overview
- CVE ID
- CVE-2021-32820
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-14T19:15:07
- Last Modified Date
- 2022-07-02T18:24:15
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:express_handlebars_project:express_handlebars:*:*:*:*:*:node.js:*:* | 1 | OR | 5.3.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 8.6
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 4
References
Reference URL | Reference Tags |
---|---|
https://securitylab.github.com/advisories/GHSL-2021-018-express-handlebars/ | Exploit Third Party Advisory |
https://github.com/express-handlebars/express-handlebars/pull/163 | Exploit Third Party Advisory |
https://www.npmjs.com/package/express-handlebars | Third Party Advisory |
https://github.com/express-handlebars/express-handlebars/commit/78c47a235c4ad7bc2674bddd8ec2721567ed8c72 | Patch Third Party Advisory |
https://github.com/express-handlebars/express-handlebars/blob/78c47a235c4ad7bc2674bddd8ec2721567ed8c72/README.md#danger- | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32820 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32820 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:15:27 | Added to TrackCVE | |||
2022-12-05 02:19:42 | 2021-05-14T19:15Z | 2021-05-14T19:15:07 | CVE Published Date | updated |
2022-12-05 02:19:42 | 2022-07-02T18:24:15 | CVE Modified Date | updated | |
2022-12-05 02:19:42 | Analyzed | Vulnerability Status | updated |