Vulnerability Details : 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.
Vulnerability category: Directory traversal
Products affected by CVE-2023-26152
- cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-26152
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-26152
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2023-26152
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-26152
-
https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
Path traversal vulnerability in static-server@2.2.1 · GitHubExploit;Third Party Advisory
-
https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223
File not found · GitHubProduct
-
https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
Directory Traversal in static-server | CVE-2023-26152 | SnykExploit;Third Party Advisory
Jump to