Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS01Zzk3LXdoYzktOGc3as4AAx8P

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

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.

Permalink: https://github.com/advisories/GHSA-5g97-whc9-8g7j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01Zzk3LXdoYzktOGc3as4AAx8P
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: about 1 year ago


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

Identifiers: GHSA-5g97-whc9-8g7j, CVE-2023-26111
References: Repository: https://github.com/cloudhead/node-static
Blast Radius: 36.8

Affected Packages

npm:@nubosoftware/node-static
Dependent packages: 1
Dependent repositories: 1
Downloads: 1 last month
Affected Version Ranges: <= 0.7.11
No known fixed version
All affected versions: 0.7.11
npm:node-static
Dependent packages: 1,463
Dependent repositories: 79,693
Downloads: 176,196 last month
Affected Version Ranges: <= 0.7.11
No known fixed version
All affected versions: 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11