GHSA-cfxm-4p54-5w7h
Directory traversal in pooledwebsocket
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | pooledwebsocket | < 0.0.19 | 0.0.19 |
Details
As written in the advisory (Markdown source, shown as plain text).
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:**
```http
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo
```
## Recommendation
Update to version 0.0.19 or later.
References
External links from the advisory. They lead to third-party sites.