Vulnerability DatabaseGHSA-8r4g-cg4m-x23c

GHSA-8r4g-cg4m-x23c
JavaScript vulnerability analysis and mitigation

Overview

The node-static package, versions 0.7.11 and earlier, contains a Denial of Service vulnerability. The vulnerability was discovered and disclosed to the GitHub Advisory Database on September 22, 2021. The issue affects the package's file serving functionality when handling user input containing null bytes (GitHub Advisory).

Technical details

The vulnerability stems from the package's failure to properly handle null bytes in pathname requests. When a request containing a U+0000 NULL character is made (e.g., http://host/%00), it causes fs.stat to crash with a TypeError, stating 'The argument 'path' must be a string or Uint8Array without null bytes.' This issue became particularly problematic with Node.js v10, where fs.stat began throwing synchronous errors instead of passing them to the callback function (PR Discussion).

Impact

When exploited, this vulnerability allows attackers to cause a Denial of Service condition by sending requests containing null bytes, effectively crashing the server. This impacts the availability of services using the node-static package (GitHub Advisory).

Mitigation and workarounds

Currently, there are no patched versions available for this vulnerability. The recommended mitigation is to protect fs.stat calls from invalid path arguments and implement proper input validation to reject requests containing null bytes (GitHub Advisory).

Community reactions

The security community has expressed concern about the vulnerability's status, with multiple developers calling for its resolution in the GitHub pull request discussion. The issue gained attention particularly due to its potential impact on production systems (PR Discussion).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management