Skip to content

Denial of Service in node-static

Moderate severity GitHub Reviewed Published Sep 22, 2021 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm node-static (npm)

Affected versions

<= 0.7.11

Patched versions

None

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.

References

Reviewed Sep 22, 2021
Published to the GitHub Advisory Database Sep 22, 2021
Last updated Jan 9, 2023

Severity

Moderate

CVE ID

No known CVE

GHSA ID

GHSA-8r4g-cg4m-x23c

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.