Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-3712 EUVD-2018-0308GHSA-q2qh-cgc2-qhr3

Directory Traversal in serve

Published Jun 7, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
HackerOne serve node module Versions before 6.4.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm serve < 6.4.9 6.4.9 GHSA-q2qh-cgc2-qhr3

References