amphp/http-server affected by HTTP/2 DDoS vulnerabilityGHSA-8grv-jq2g-cfhw
MEDIUMGHSA-8grv-jq2g-cfhw is a medium-severity (CVSS 5.3) vulnerability in amphp/http-server. A fix is available for amphp/http-server — see the affected versions and patch details below.
Real-World Exposure
amphp/http-server🐘amphp/http-serverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Versions of amphp/http-server prior to 3.4.4 for the 3.x release branch and prior to 2.1.10 for the 2.x release branch are vulnerable to the HTTP/2 "MadeYouReset" DoS attack described by CVE-2025-8671 and https://kb.cert.org/vuls/id/767506.
In versions 3.4.4 and 2.1.10, stream reset protection has been refactored to account for the number of reset streams within a sliding time window.
Note that your application must expose HTTP/2 connections directly to be affected by this vulnerability. Servers behind a proxy using HTTP/1.x such as nginx are not affected.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | amphp/http-server | ≥ 3.0.0-beta.1&&< 3.4.4 | 3.4.4composer require amphp/http-server:^3.4.4 |
| 🐘Packagist | amphp/http-server | ≥ 2.0.0-rc1&&< 2.1.10 | 2.1.10composer require amphp/http-server:^2.1.10 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for amphp/http-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update amphp/http-server to 3.4.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8grv-jq2g-cfhw 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-8grv-jq2g-cfhw in your dependencies?
Find it across Packagist, including transitive dependencies.