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.
References
Link | Resource |
---|---|
https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d | Exploit Third Party Advisory |
https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 | Product |
https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 | Exploit Third Party Advisory |
https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d | Exploit Third Party Advisory |
https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 | Product |
https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 07:50
Type | Values Removed | Values Added |
---|---|---|
References | () https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d - Exploit, Third Party Advisory | |
References | () https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 - Product | |
References | () https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 - Exploit, Third Party Advisory |
04 Oct 2023, 17:10
Type | Values Removed | Values Added |
---|---|---|
First Time |
Nbluis
Nbluis static-server |
|
CPE | cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:* | |
References | (MISC) https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d - Exploit, Third Party Advisory | |
References | (MISC) https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 - Exploit, Third Party Advisory | |
References | (MISC) https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 - Product | |
CWE | CWE-22 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
03 Oct 2023, 05:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-10-03 05:15
Updated : 2024-11-21 07:50
NVD link : CVE-2023-26152
Mitre link : CVE-2023-26152
CVE.ORG link : CVE-2023-26152
JSON object : View
Products Affected
nbluis
- static-server
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')