Lucene search

K
osvGoogleOSV:GHSA-5G97-WHC9-8G7J
HistoryMar 06, 2023 - 6:30 a.m.

node-static and @nubosoftware/node-static vulnerable to Directory Traversal

2023-03-0606:30:18
Google
osv.dev
10
vulnerable
directory traversal
file path sanitization
startswith()
servepath
software

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.001

Percentile

46.4%

node-static and the fork @nubosoftware/node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

0.001

Percentile

46.4%

Related for OSV:GHSA-5G97-WHC9-8G7J