CVE-2021-32820

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32820
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32820.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32820
Aliases
Published
2021-05-14T19:15:07Z
Modified
2024-10-12T07:36:45.982523Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/express-handlebars/express-handlebars

Affected ranges

Type
GIT
Repo
https://github.com/express-handlebars/express-handlebars
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.1.1
v0.1.2
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.4.0
v0.4.1
v0.5.0
v0.5.1

v1.*

v1.0.0
v1.0.0-rc-1
v1.0.0-rc-2
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.2.0
v1.2.1
v1.2.2

v2.*

v2.0.0
v2.0.1

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.1.0

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6

v5.*

v5.0.0
v5.1.0
v5.2.0
v5.2.1
v5.3.0