GitHub Advisoryadvisory · npm

GHSA-23vf-5g53-hm9q Directory Traversal in list-n-stream

HIGH Published 2018-07-24 Modified 2023-09-06 Official page ↗
Aliases
CVE-2017-16084
Ecosystem
npm
Packages
list-n-stream
Severity
High
Weaknesses
CWE-22
Reviewed
2020-06-16

Affected packages

• npm list-n-stream: < 0.0.11 → fixed in 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: ```http GET /../../../../../../../../../../etc/passwd HTTP/1.1 host:foo ``` Recommendation Update to version 0.0.11 or later.

Related

Alias · CVE (1)

  • CVE-2017-16084 list-n-stream is a server for static files to list and stream local videos. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References