CVE-2024-2653
Fix:upgrade http Versions ↓
AMPHP · amphp/http-client
The amphp/http-client library (vendor AMPHP) has a flaw in how it handles HTTP/2 CONTINUATION frames: it accumulates them in an unbounded buffer and does not enforce a size limit until the END_HEADERS flag is received. An attacker with network access to a service using this client can exploit it without authentication, user interaction, or special configuration, causing the process to run out of memory and crash.
Official description · CVE.org
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 3 Apr 2024. No public exploit code or confirmed exploitation is recorded.
Affected versions and fixes
as published in the CVE recordAMPHP amphp/http-client
Affected: >= v4.0.0-rc10, <= 4.0.0
AMPHP amphp/http
Affected: >= v1.6.0-rc1, <= 1.7.2
Am I affected? What do I upgrade to?
From GitHub Security Advisories and OSV2 packages in 1 ecosystem. No single main package: each of these ships the affected code.
- Packagistamphp/httpAffected: 2.0.0 up to 2.1.1; All versions before 1.7.3Upgrade to 2.1.1 or later (older lines: 1.7.3)
- Packagistamphp/http-clientAffected: 4.0.0-rc10 through 4.0.0No fixed version published