GHSA-w8gf-g2vq-j2f4 amphp/http-client Denial of Service via HTTP/2 CONTINUATION Frames
HighCVSS 8.2
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
Early versions of amphp/http-client with HTTP/2 support (v4.0.0-rc10 to 4.0.0) will collect HTTP/2 CONTINUATION frames in an unbounded buffer and will not check the header size limit until it has received the END_HEADERS flag, resulting in an OOM crash. Later versions of amphp/http-client (v4.1.0-rc1 and up) depend on amphp/http for HTTP/2 processing and will therefore need an updated version of amphp/http, see GHSA-qjfw-cvjf-f4fm.
Acknowledgements
Thank you to Bartek Nowotarski for reporting the vulnerability.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| amphp/http-client(Packagist) | = v4.0.0; = v4.0.0-rc10; = v4.0.0-rc11; >= 4.0.0-rc10, < 4.1.0-rc1 +1 more | 4.1.0-rc1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| amphp/http-client(Packagist) | >= 4.0.0-rc10, < 4.1.0-rc1 | 4.1.0-rc1 |
| amphp/http-client(Packagist) | = v4.0.0 | No fix listed |
| amphp/http-client(Packagist) | = v4.0.0-rc10 | No fix listed |
| amphp/http-client(Packagist) | = v4.0.0-rc11 | No fix listed |
| amphp/http-client(Packagist) | >= 4.0.0-rc10, <= 4.0.0 | No fix listed |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com