github.com/nghttp2/nghttp2 has HTTP/2 Rapid ResetGHSA-vx74-f528-fxqg
HIGHFix: nghttp2/nghttp2@72b4af6GHSA-vx74-f528-fxqg is a high-severity (CVSS 7.5) vulnerability in github.com/nghttp2/nghttp2. A fix is available for github.com/nghttp2/nghttp2 — see the affected versions and patch details below.
Real-World Exposure
github.com/nghttp2/nghttp2Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Rapidly creating and cancelling streams (HEADERS frame immediately followed by RST_STREAM) without bound cause denial of service.
See https://www.cve.org/CVERecord?id=CVE-2023-44487 for details.
Patches
nghttp2 v1.57.0 mitigates this vulnerability by default.
Workarounds
If upgrading to nghttp2 v1.57.0 is not possible, implement nghttp2_on_frame_recv_callback, and check and count RST_STREAM frames. If excessive number of RST_STREAM are received, then take action, such as dropping connection silently, or call nghttp2_submit_goaway and gracefully terminate the connection.
References
The following commit mitigates this vulnerability:
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/nghttp2/nghttp2 | all versions | 1.57.0go get github.com/nghttp2/nghttp2@v1.57.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/nghttp2/nghttp2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/nghttp2/nghttp2 to 1.57.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vx74-f528-fxqg is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-vx74-f528-fxqg in your dependencies?
Find it across Go, including transitive dependencies.