VulnerabilityModified
CVE-2023-26152
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.
HIGH 7.5EPSS 1.09%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.09%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 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.09% probability · 63th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- nbluis/static-server
- Source
- report@snyk.io
References
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346dExploit, Third Party Advisory
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223Product
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341Exploit, Third Party Advisory
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346dExploit, Third Party Advisory
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223Product
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.