GHSA-8r4g-cg4m-x23c

Suggest an improvement
Source
https://github.com/advisories/GHSA-8r4g-cg4m-x23c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-8r4g-cg4m-x23c/GHSA-8r4g-cg4m-x23c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8r4g-cg4m-x23c
Published
2021-09-22T18:22:02Z
Modified
2025-10-03T18:27:42Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-248",
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-09-22T18:21:20Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / node-static

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.7.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-8r4g-cg4m-x23c/GHSA-8r4g-cg4m-x23c.json"