Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2021-23797 EUVD-2022-0616GHSA-hj3m-v758-jwx5

Directory Traversal

Published Dec 17, 2021 · Updated Sep 16, 2024 · Assigned by snyk

Description

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

Affected products

VendorProductAffectedFixed
— http-server-node < unspecified unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-http-server No fix yet —
Ubuntu 26.04 LTS node-http-server No fix yet —
Ubuntu 25.10 node-http-server No fix yet —
Ubuntu 24.04 LTS node-http-server No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm http-server-node <= 1.0.2 — GHSA-hj3m-v758-jwx5

References