Skip to content

Directory Traversal in list-n-stream

High severity GitHub Reviewed Published Jul 24, 2018 to the GitHub Advisory Database • Updated Sep 6, 2023

Package

npm list-n-stream (npm)

Affected versions

<= 0.0.10

Patched versions

0.0.11

Description

Affected versions of list-n-stream resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

Example request:

GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo

Recommendation

Update to version 0.0.11 or later.

References

Published to the GitHub Advisory Database Jul 24, 2018
Reviewed Jun 16, 2020
Last updated Sep 6, 2023

Severity

High

EPSS score

0.719%
(81st percentile)

Weaknesses

CVE ID

CVE-2017-16084

GHSA ID

GHSA-23vf-5g53-hm9q

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.