VDB

CVE-2021-23797

CVE-2021-23797 PUBLISHED CVSS 7.5 HIGH

Directory Traversal

Reported by snyk · Published December 17, 2021

http-server-node is fixed in 1.0.2 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
http-server-nodenpm1.0.2

Risk scores

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

Affected products

VendorProductVersions
n/ahttp-server-node0
npmhttp-server-node0
n/ahttp-server-node0

Timeline

  • Dec 17, 2021 CVE Published
  • Dec 20, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 16, 2024 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-23797
vulnetix vdb fixes CVE-2021-23797

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23797/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›