CVE-2024-2653
AMPHP Denial of Service via HTTP/2 CONTINUATION Frames
Description
`amphp/http` 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. `amphp/http-client` and `amphp/http-server` are indirectly affected if they're used with an unpatched version of `amphp/http`. Early versions of `amphp/http-client` with HTTP/2 support (v4.0.0-rc10 to 4.0.0) are also directly affected. ## Acknowledgements Thank you to [Bartek Nowotarski](https://nowotarski.info/) for reporting the vulnerability.
How to fix CVE-2024-2653
To remediate CVE-2024-2653, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.1 or later
- —no fix listed
- —upgrade to 4.1.0-rc1 or later
Is CVE-2024-2653 being exploited?
Likely — EPSS is 83.2%, placing CVE-2024-2653 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- >= 2.0.0, < 2.1.1
- >= 4.0.0-rc10, <= 4.0.0
- >= 4.0.0-rc10, < 4.1.0-rc1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |