GHSA-c96f-x56v-gq3h

Suggest an improvement
Source
https://github.com/advisories/GHSA-c96f-x56v-gq3h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c96f-x56v-gq3h/GHSA-c96f-x56v-gq3h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c96f-x56v-gq3h
Aliases
Downstream
Published
2026-07-23T19:33:15Z
Modified
2026-07-23T19:56:40Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
find-my-way: DDoS with HTTP2
Details

Impact

Remotely triggerable DoS in find-my-way when it is used with Node's HTTP/2 server.

The short version is that lookup() passes req.method into find(), and find() indexes this.trees[method]. Since this.trees is a normal object, HTTP/2 method values like constructor, toString, or __proto__ can resolve inherited object properties instead of returning undefined. The code then treats that value like a router node and crashes when it reaches currentNode.prefix.length.

Patches

Upgrade to v9.7.0.

Workarounds

Do not use find-my-way with HTTP/2 servers, or validate that the http method is valid beforehand.

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-23T19:33:15Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / find-my-way

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.7.0

Database specific

last_known_affected_version_range
"<= 9.6.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-c96f-x56v-gq3h/GHSA-c96f-x56v-gq3h.json"