Vulnerability · Published Dec 17, 2021 · Assigned by snyk

CVE-2021-23797Directory Traversal

High 7.5

In plain English

A high-severity security flaw in http-server-node. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 21.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

All versions of package http-server-node are vulnerable to Directory Traversal via use of --path-as-is.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:24.04:LTSnode-http-serverno fix listedUBUNTU-CVE-2021-23797
Ubuntu:25.10node-http-serverno fix listedUBUNTU-CVE-2021-23797
Ubuntu:26.04:LTSnode-http-serverno fix listedUBUNTU-CVE-2021-23797
Ubuntu:26.10node-http-serverno fix listedUBUNTU-CVE-2021-23797
npmhttp-server-nodeno fix listedGHSA-hj3m-v758-jwx5

Affected products (as reported)

VendorProductVersions
n/a http-server-node 0 – before unspecified

References