Vulnerability Description
All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| \@Nubosoftware\/Node-Static Project | \@Nubosoftware\/Node-Static | - |
| Node-Static Project | Node-Static | - |
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bcExploitThird Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-LBroken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928ExploitThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927ExploitThird Party Advisory
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bcExploitThird Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-LBroken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928ExploitThird Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927ExploitThird Party Advisory
FAQ
What is CVE-2023-26111?
CVE-2023-26111 is a vulnerability with a CVSS score of 7.5 (HIGH). All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method i...
How severe is CVE-2023-26111?
CVE-2023-26111 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-26111?
Check the references section above for vendor advisories and patch information. Affected products include: \@Nubosoftware\/Node-Static Project \@Nubosoftware\/Node-Static, Node-Static Project Node-Static.