PT-2024-2591 · Unknown · Amphp/Http+1
Bartekn
·
Published
2024-01-05
·
Updated
2024-09-06
·
CVE-2024-2653
CVSS v2.0
8.5
High
| Vector | AV:N/AC:L/Au:N/C:N/I:P/A:C |
Name of the Vulnerable Software and Affected Versions
amphp/http versions prior to the fixed version
amphp/http-client versions 4.0.0-rc10 through 4.0.0
Description
The issue is related to the amphp/http library and its HTTP/2 protocol implementation, specifically with uncontrolled memory allocation due to incorrect size limits when handling CONTINUATION frames. This can result in an out-of-memory (OOM) crash. The vulnerability can be exploited by a remote attacker to cause a denial of service by sending HTTP packets.
Recommendations
For amphp/http versions prior to the fixed version, update to a version that includes the fix for this issue.
For amphp/http-client versions 4.0.0-rc10 through 4.0.0, update to a version that includes the fix for this issue or later.
As a temporary workaround, consider restricting the use of the HTTP/2 protocol or limiting the size of incoming HTTP packets to minimize the risk of exploitation.
Exploit
Fix
Resource Exhaustion
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Amphp/Http
Amphp/Http-Client