GHSA-23vf-5g53-hm9q

Suggest an improvement
Source
https://github.com/advisories/GHSA-23vf-5g53-hm9q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-23vf-5g53-hm9q/GHSA-23vf-5g53-hm9q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-23vf-5g53-hm9q
Aliases
  • CVE-2017-16084
Published
2018-07-24T14:57:31Z
Modified
2023-11-08T03:59:03.879775Z
Summary
Directory Traversal in list-n-stream
Details

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

Affected packages

npm / list-n-stream

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.11

Database specific

{
    "last_known_affected_version_range": "<= 0.0.10"
}