CVE-2023-26152 Detail

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.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’) NIST  

Change History

1 change records found show changes

Initial Analysis by NIST 10/04/2023 1:10:53 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:nbluis:static-server:*:*:*:*:*:node.js:*:* versions up to (including) 3.0.0
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Added CWE
NIST CWE-22
Changed Reference Type
https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d No Types Assigned
https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d Exploit, Third Party Advisory
Changed Reference Type
https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 No Types Assigned
https://github.com/nbluis/static-server/blob/master/server.js%23L218-L223 Product
Changed Reference Type
https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 No Types Assigned
https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 Exploit, Third Party Advisory

Quick Info

CVE Dictionary Entry:
CVE-2023-26152
NVD Published Date:
10/03/2023
NVD Last Modified:
10/04/2023
Source:
Snyk