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.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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.
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 lookupCVE-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- 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
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.
CVSS vector scores
1 official scoreWe 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-HTTPSERVERNODE-1727656CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
