GitHub Advisoryadvisory · npm
GHSA-crf7-fvjx-863q Path Traversal in zero
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- zero
- Severity
- High
- Weaknesses
- CWE-22
- Reviewed
- 2020-08-31
Affected packages
• npm zero: < 1.0.6 → fixed in 1.0.6
Description
Versions of `zero` prior to 1.0.6 are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files.
Recommendation
Upgrade to version 1.0.6 or later.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness