Every CVE Search/ Get API key

CVE-2021-23797

Directory Traversal

7.5 HighPublic exploit

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.81%Up 1.4 points since Dec 20, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.5

Directory Traversal

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

Record
CVE-2021-23797
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
EUVDEUVD-2022-0616 7.5

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

Record
EUVD-2022-0616
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-hj3m-v758-jwx5 7.5

Path Traversal in http-server-node

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

Record
GHSA-hj3m-v758-jwx5
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 7.5

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

Record
CVE-2021-23797
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-hj3m-v758-jwx5 7.5

Path Traversal in http-server-node

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

Record
GHSA-hj3m-v758-jwx5
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVUBUNTU-CVE-2021-23797 7.5

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

Record
UBUNTU-CVE-2021-23797
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
http-server-node
npm
through 1.0.2 None known
node-http-server
Ubuntu:24.04:LTS
All versions, plus listed versions
14.1.1+~cs3.14.34-2
None known
node-http-server
Ubuntu:25.10
All versions, plus listed versions
14.1.1+~cs3.14.34-414.1.1+~cs3.16.36-1
None known
node-http-server
Ubuntu:26.10
All versions, plus listed versions
14.1.1+~cs3.16.39-1
None known
node-http-server
Ubuntu:26.04:LTS
All versions, plus listed versions
14.1.1+~cs3.16.36-114.1.1+~cs3.16.39-1
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubdannyEndorTest/http-server-node2026-05-20

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-23797 is a high vulnerability (CVSS 7.5) in Http-server-node Project Http-server-node, published December 17, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.81%, the 78th percentile. No source names a fixed version.

References

MoveEnter Open