GitHub Advisoryadvisory · npm
GHSA-wcwm-c3mr-pxcr easy-static-server vulnerable to Directory Traversal
HIGH
Official page ↗
- Aliases
- CVE-2022-25931
- Ecosystem
- npm
- Packages
- easy-static-server
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-12-20
Affected packages
• npm easy-static-server: <= 0.1.1 (no fix yet)
Description
All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the `req.url` user input that is passed to the server code.
Related
Alias · CVE (1)
- CVE-2022-25931 All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25931 advisory
- https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9 web
- https://github.com/cunjieliu/easyServer package
- https://github.com/cunjieliu/easyServer/blob/master/index.js#23L27 web
- https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539 web