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.
References
Link | Resource |
---|---|
https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc | Exploit Third Party Advisory |
https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 | Broken Link |
https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 | Exploit Third Party Advisory |
https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2023-03-06 05:15
Updated : 2023-11-07 04:09
NVD link : CVE-2023-26111
Mitre link : CVE-2023-26111
CVE.ORG link : CVE-2023-26111
JSON object : View
Products Affected
\@nubosoftware\/node-static_project
- \@nubosoftware\/node-static
node-static_project
- node-static
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')