CVE-2023-26152
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | static-server | 0 < * | affected |
Weaknesses
- CWE-22: Directory Traversal
ADP Enrichment
CVE Program Container
Additional References
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
References
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
- https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.