Advisory

GHSA-8r4g-cg4m-x23c

Also known as: None

Summary

Denial of Service in node-static

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-09-22 18:22 UTC
Modified
2025-10-03 18:27 UTC

Affected packages and fixes

node-static

npm · All systems

Affected

  • introduced 0, last affected 0.7.11 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences