Advisory

GHSA-xwg4-93c6-3h42

Also known as: CVE-2014-6394

Summary

Directory Traversal in send

Details

Versions 0.8.3 and earlier of send are affected by a directory traversal vulnerability. When relying on the root option to restrict file access it may be possible for an application consumer to escape out of the restricted directory and access files in a similarly named directory.

For example, static(_dirname + '/public') would allow access to _dirname + '/public-restricted'.

Recommendation

Update to version 0.8.4 or later.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2017-10-24 18:33 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

send

npm · All systems

Affected

  • introduced 0, fixed 0.8.4 (semver)

Fixed versions

0.8.4

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