GitHub Advisoryadvisory · npm
GHSA-pppv-ch8p-rp2w lite-dev-server vulnerable to Directory Traversal
HIGH
Official page ↗
- Aliases
- CVE-2022-25895
- Ecosystem
- npm
- Packages
- lite-dev-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-21
Affected packages
• npm lite-dev-server: <= 3.2.7 (no fix yet)
Description
All versions of package lite-dev-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-25895 All versions of package lite-dev-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-25895 advisory
- https://gist.github.com/lirantal/0f8a48c3f5ac581ce73123abe9f7f120 web
- https://github.com/shadowwzw/lite-dev-server package
- https://github.com/shadowwzw/lite-dev-server/blob/master/src/server.js#23L134 web
- https://security.snyk.io/vuln/SNYK-JS-LITEDEVSERVER-3153718 web