VulnerabilityModified
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.
HIGH 7.5EPSS 1.44%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.44% probability · 72th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- \@nubosoftware\/node-static project/\@nubosoftware\/node-static · node-static project/node-static
- Source
- report@snyk.io
References
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bcExploit, Third Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163Broken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927Exploit, Third Party Advisory
- https://gist.github.com/lirantal/c80b28e7bee148dc287339cb483e42bcExploit, Third Party Advisory
- https://github.com/cloudhead/node-static/blob/master/lib/node-static.js%23L160-L163Broken Link
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-3149928Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-NUBOSOFTWARENODESTATIC-3149927Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.