CVE-2018-3712
mediumpriority · track · 27EPSS 0.018 · 78 %ileEUUSEPSS · scored 2026-10-27
serve node module before 6.4.9 suffers from a Path Traversal vulnerability due to not handling %2e (.) and %2f (/) and allowing them in paths, which allows a malicious user to view the contents of any directory with known path.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-q2qh-cgc2-qhr3Directory Traversal in serve2018-07-27ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/zeit/serve/pull/316cnnvd
- https://hackerone.com/reports/307666cnnvd
- https://github.com/zeit/serve/pull/316enisa_euvd
- https://hackerone.com/reports/307666enisa_euvd
- https://github.com/zeit/serve/pull/316Vendor Advisorynvd
- https://hackerone.com/reports/307666ExploitTechnical Descriptionnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan