logo

CVE-2024-2653 amphp/http

Package

Manager: composer
Name: amphp/http
Vulnerable Version: >=2.0.0 <2.1.1 || >=0 <1.7.3

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

EPSS: 0.04588 pctl0.88814

Details

AMPHP Denial of Service via HTTP/2 CONTINUATION Frames `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.

Metadata

Created: 2024-04-03T18:06:45Z
Modified: 2024-05-02T18:58:15Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-qjfw-cvjf-f4fm/GHSA-qjfw-cvjf-f4fm.json
CWE IDs: []
Alternative ID: GHSA-qjfw-cvjf-f4fm
Finding: F002
Auto approve: 1