Vulnerability · Published Mar 6, 2023 · Assigned by snyk

CVE-2023-26111

High 7.5

In plain English

A high-severity path traversal in node-static. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.4%top 26.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@nubosoftware/node-staticno fix listedGHSA-5g97-whc9-8g7j
npmnode-staticno fix listedGHSA-5g97-whc9-8g7j

Affected products (as reported)

VendorProductVersions
n/a @nubosoftware/node-static 0 – before *
n/a node-static 0 – before *

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P

References