Advisory

GHSA-g8m7-qhv7-9h5x

Also known as: None

Summary

Path Traversal in serve-here.js

Details

Versions of serve-here.js prior to 1.2.0 are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.

Recommendation

Upgrade to version 1.2.0 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-07-05 21:07 UTC
Modified
2021-09-22 18:35 UTC

Affected packages and fixes

serve-here

npm · All systems

Affected

  • introduced 0, last affected 3.2.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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