GitHub Advisoryadvisory · npm
GHSA-8r4g-cg4m-x23c Denial of Service in node-static
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- node-static
- Severity
- Moderate
- Weaknesses
- CWE-248, CWE-400
- Reviewed
- 2021-09-22
Affected packages
• npm node-static: <= 0.7.11 (no fix yet)
Description
All versions of node-static are vulnerable to a Denial of Service. The package fails to catch an exception when user input includes null bytes. This allows attackers to access `http://host/%00` and crash the server.
Related
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11149 advisory
- https://github.com/cloudhead/node-static/pull/213 web
- https://github.com/github/advisory-database/pull/6248 web
- https://github.com/cloudhead/node-static package
- https://github.com/cloudhead/node-static/blob/643a528ec7bbd05a59c4030655d94810570afb3f/CHANGES.md#-unreleased web
- https://security.snyk.io/vuln/SNYK-JS-NODESTATIC-1297183 web