CVE-2018-3712
MEDIUM 6.5CVSS 3.0Directory Traversal in serve
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.
- Published
- 7 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-q2qh-cgc2-qhr3
- Sources
- NVDJSONOSV GHSA-q2qh-cgc2-qhr3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zeit | servecpe:2.3:a:zeit:serve:*:*:*:*:*:node.js:*:* |
< 6.4.9 | 6.4.9 |
| OSV | npm | serve | < 6.4.9 | 6.4.9 |
References
- https://github.com/zeit/serve/pull/316 · Vendor Advisory, WEB
- https://hackerone.com/reports/307666 · Exploit, Technical Description, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3712 · ADVISORY
- https://github.com/vercel/serve/commit/6adad6881c61991da61ebc857857c53409544575 · WEB
- https://github.com/vercel/serve · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 7 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jul 2018)