CVE-2024-2653Published Apr 3, 2024 · Apr 3Updated Oct 28
CVE-2024-2653
amphp/http-client · amphp/http
High8.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| amphp/http Packagist |
|
|
| amphp/http-client Packagist |
| No fix yet |
amphp/http-client · amphp/http
| Product | Affected | Fixed in |
|---|---|---|
| amphp/http Packagist |
|
|
| amphp/http-client Packagist |
| No fix yet |
amphp/http will collect CONTINUATION frames in an unbounded buffer and will not check a limit until it has received the set END_HEADERS flag, resulting in an OOM crash.
From the CVE record · certcc
amphp/http buffers CONTINUATION frames without enforcing a limit until it receives END_HEADERS. A peer that sends frames without that flag can exhaust memory and crash the process. The input does not specify whether authentication or user interaction is required.
Check deployments using Packagist amphp/http versions >=2.0.0 <2.1.1 or <1.7.3, or amphp/http-client versions >=4.0.0-rc10 <=4.0.0.