Vulnerability Description
All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nbluis | Static-Server | <= 3.0.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346dExploitThird Party Advisory
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223Product
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341ExploitThird Party Advisory
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346dExploitThird Party Advisory
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223Product
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341ExploitThird Party Advisory
FAQ
What is CVE-2023-26152?
CVE-2023-26152 is a vulnerability with a CVSS score of 7.5 (HIGH). All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.
How severe is CVE-2023-26152?
CVE-2023-26152 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-26152?
Check the references section above for vendor advisories and patch information. Affected products include: Nbluis Static-Server.