Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-static
  4. ›
  5. GMS-2021-39

GMS-2021-39: Denial of Service in node-static

September 22, 2021

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.

References

  • github.com/advisories/GHSA-8r4g-cg4m-x23c
  • github.com/cloudhead/node-static/blob/643a528ec7bbd05a59c4030655d94810570afb3f/CHANGES.md
  • github.com/cloudhead/node-static/pull/213
  • www.npmjs.com/advisories/1208
  • www.npmjs.com/package/node-static

Code Behaviors & Features

Detect and mitigate GMS-2021-39 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.7.11

Solution

Unfortunately, there is no solution available yet.

Source file

npm/node-static/GMS-2021-39.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.