{"id":"CVE-2018-3712","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T00:05:56Z","title":"serve node module before 6.4.9 suffers from a Path Traversal vulnerability due to not handling %2e (.) and %2f (/) and…","vendor":"HackerOne","product":"serve node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01756,"percentile":0.78504,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/zeit/serve/pull/316","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/307666","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.7}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"serve node module","versions":["Versions before 6.4.9"]}],"affected":[{"ecosystem":"npm","package":"serve","vulnerableRanges":["<6.4.9"],"patched":["6.4.9"],"from":["GHSA-q2qh-cgc2-qhr3"],"provenance":"source"}],"summary":{"text":"The serve node module, before version 6.4.9, contains a path traversal flaw because it fails to handle URL-encoded dot (%2e) and slash (%2f) sequences and allows them into file paths.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:02Z"},"euvd":{"id":"EUVD-2018-0308","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-3712","published":"2018-06-07","fixed":"6.4.9","kev":false},{"cve":"CVE-2018-3718","published":"2018-06-07","fixed":"6.5.2","kev":false,"link":{"from":"CVE-2018-3712","to":"CVE-2018-3718","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:serve","fromFixed":"6.4.9","toFixed":"6.5.2","daysApart":0},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same product + description similarity"}]}},{"cve":"CVE-2018-3809","published":"2018-06-01","fixed":"7.0.0","kev":false},{"cve":"CVE-2019-5415","published":"2019-03-17","fixed":"7.0.0","kev":false}],"package":"npm:serve"}}