GHSA-g8m7-qhv7-9h5x
Dashboard / Vulnerabilities / GHSA-g8m7-qhv7-9h5x
GHSA-g8m7-qhv7-9h5x
Published: 5 Jul 2019Last Modified: 22 Sept 2021
Summary: Path Traversal in serve-here.js
Details: Versions of `serve-here.js` prior to 1.2.0 are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths. ## Recommendation Upgrade to version 1.2.0 or later.
References: https://github.com/vivaxy/here/pull/17, https://github.com/vivaxy/here/commit/298dbab41344dfb7f95f66b1fa7b5cfb436bd4a2, https://hackerone.com/reports/296254, https://hackerone.com/reports/569966, https://www.npmjs.com/advisories/554
Affected packages
Package
Name: serve-here
Purl: pkg:npm/serve-here
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
