CVE-2023-26111

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:\@nubosoftware\/node-static_project:\@nubosoftware\/node-static:-:*:*:*:*:node.js:*:*
cpe:2.3:a:node-static_project:node-static:-:*:*:*:*:node.js:*:*

History

21 Nov 2024, 07:50

Type Values Removed Values Added
References () https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc - Exploit, Third Party Advisory () https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bc - Exploit, Third Party Advisory
References () https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 - Broken Link () https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163 - Broken Link
References () https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 - Exploit, Third Party Advisory () https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928 - Exploit, Third Party Advisory
References () https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 - Exploit, Third Party Advisory () https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927 - Exploit, Third Party Advisory

07 Nov 2023, 04:09

Type Values Removed Values Added
Summary 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. 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.

Information

Published : 2023-03-06 05:15

Updated : 2024-11-21 07:50


NVD link : CVE-2023-26111

Mitre link : CVE-2023-26111

CVE.ORG link : CVE-2023-26111


JSON object : View

Products Affected

node-static_project

  • node-static

\@nubosoftware\/node-static_project

  • \@nubosoftware\/node-static
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')