Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNmeG0tNHA1NC01dzdo
Directory traversal in pooledwebsocket
Affected versions of pooledwebsocket
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.19 or later.
Permalink: https://github.com/advisories/GHSA-cfxm-4p54-5w7hJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWNmeG0tNHA1NC01dzdo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-cfxm-4p54-5w7h, CVE-2017-16107
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-16107
- https://github.com/JacksonGL/NPM-Vuln-PoC/blob/master/directory-traversal/pooledwebsocket
- https://github.com/advisories/GHSA-cfxm-4p54-5w7h
- https://www.npmjs.com/advisories/341
Affected Packages
npm:pooledwebsocket
Dependent packages: 1Dependent repositories: 1
Downloads: 6 last month
Affected Version Ranges: < 0.0.19
Fixed in: 0.0.19
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18
All unaffected versions: 0.0.19, 0.0.20, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0