GHSA-8r4g-cg4m-x23c Denial of Service in node-static

Not scored Published

Attackers can crash the server by sending requests with null bytes, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GHSA-8r4g-cg4m-x23c?

GHSA-8r4g-cg4m-x23c is a denial of service vulnerability in node-static, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by GHSA-8r4g-cg4m-x23c?

2 open source packages ship an affected version, including node-static.

PackageAffectedFixed in
node-static npmAll versions to 0.7.11None
node-static npmAll versions to 0.7.11None

How do I fix GHSA-8r4g-cg4m-x23c?

No fix has been published for GHSA-8r4g-cg4m-x23c yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is GHSA-8r4g-cg4m-x23c being exploited?

There is no known exploitation of GHSA-8r4g-cg4m-x23c in the wild and no public exploit code.

Sources

Is GHSA-8r4g-cg4m-x23c in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free