GHSA-q2qh-cgc2-qhr3
Dashboard / Vulnerabilities / GHSA-q2qh-cgc2-qhr3
Summary: Directory Traversal in serve
Details: Affected versions of `serve` do not properly handle `%2e` (.) and `%2f` (/) characters, and allow the, characters to be used in paths. This can be used to traverse the directory tree and list content of any directory the user running the process has access to. Mitigating factors: This vulnerability only allows listing of directory contents and does not allow reading of arbitrary files. ## Recommendation Update to version 6.4.9 later.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-3712, https://github.com/zeit/serve/pull/316, https://github.com/vercel/serve/commit/6adad6881c61991da61ebc857857c53409544575, https://hackerone.com/reports/307666, https://github.com/vercel/serve
Affected packages
Package
Name: serve
Purl: pkg:npm/serve
Affected ranges
Type: SEMVER
Events:
