Directory Traversal

Affecting pooledwebsocket package, versions <0.0.18

medium severity

Overview

pooledwebsocket is a Pooled Web Socket server. Affected versions of the package are vulnerable to Directory Traversal, which may allow access to sensitive files and data on the server. For example, requesting the following url /..%2f..%2fetc/passwd would result in /etc/passwd leak.

Thanks to Liang Gong for disclosing this vulnerability!

Disclosure Timeline

  • April 24th, 2017 - Disclosed to package owner
  • April 24th, 2017 - Issue acknowledged by package owner.
  • April 24th, 2017 - Issue fixed and version 0.0.18 released.

Remediation

Upgrade pooledwebsocket to version 0.0.18 or higher.

References

Credit
Liang Gong
CWE
CWE-22
Snyk ID
npm:pooledwebsocket:20170420
Disclosed
19 Apr, 2017
Published
25 Apr, 2017

Do your applications use this vulnerable package?