Advisory

GHSA-wm77-q74p-5763

Also known as: None

Summary

Path Traversal in superstatic

Details

Affected of superstatic are vulnerable to path traversal when used on Windows.

Additionally, it is vulnerable to path traversal on other platforms combined with certain Node.js versions which erroneously normalize \\ to / in paths on all platforms (a known example being Node.js v9.9.0).

Recommendation

Update to version 5.0.2 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-27 17:06 UTC
Modified
2021-08-09 22:21 UTC

Affected packages and fixes

superstatic

npm · All systems

Affected

  • introduced 0, fixed 5.0.2 (semver)

Fixed versions

5.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences