LiveActive security incident?Get immediate response
CVE Record

CVE-2021-23797: Directory Traversal

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

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-23797 is a directory traversal issue in http-server-node. If a vulnerable service is reachable and uses the --path-as-is behavior, an unauthenticated attacker may read files outside the intended served directory. The main business impact is confidential file exposure, not system takeover based on the provided sources.

Executive priority

Treat as high priority for externally reachable static file services. Prioritize inventory, exposure reduction, and vendor-guided remediation because successful abuse could disclose secrets, configuration files, or sensitive business data.

Technical view

All versions of http-server-node are reported vulnerable to directory traversal through --path-as-is. The CVSS 3.1 score is 7.5: network reachable, low complexity, no privileges or user interaction required, unchanged scope, high confidentiality impact, and no stated integrity or availability impact.

Likely exposure

Exposure is likely where http-server-node is included in Node.js projects and used to serve files, especially on internet-facing or broadly reachable internal services with --path-as-is enabled.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation evidence. Risk remains meaningful because the issue is unauthenticated, network reachable, and affects file confidentiality.

Researcher notes

The source bundle provides limited technical detail beyond the vulnerable package and --path-as-is vector. No CWE is listed. Avoid assuming a patch, exploit availability, or additional affected products without vendor or advisory confirmation.

Mitigation direction

  • Inventory projects for http-server-node dependency usage.
  • Remove or avoid --path-as-is where operationally possible.
  • Restrict vulnerable services to trusted networks only.
  • Run services with minimal filesystem permissions.
  • Check vendor or Snyk guidance for fixed versions or replacement advice.

Validation and detection

  • Search package manifests and lockfiles for http-server-node.
  • Inspect startup scripts, containers, and process managers for --path-as-is.
  • Confirm whether affected services are internet-facing or internally reachable.
  • Review access logs for suspicious file disclosure attempts.
  • Verify served directory isolation and service account permissions.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-23797 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-23797Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/ahttp-server-node0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.