GitHub Advisory Database
GHSA-v588-qcp3-jv46
Path Traversal in serve
Details
Versions of serve prior to 7.0.1 are vulnerable to Path Traversal. Explicitly ignored folders can be accessed through if the path contains a /./, which allows attackers to access hidden folders and files.
Recommendation
Upgrade to version 7.0.1 or later.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | serve | All versions before 7.0.0 (fixed in 7.0.0) |