logo

GHSA-w8gf-g2vq-j2f4 amphp/http-client

Package

Manager: composer
Name: amphp/http-client
Vulnerable Version: >=4.0.0-rc10 <4.1.0-rc1

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: N/A pctlN/A

Details

amphp/http-client Denial of Service via HTTP/2 CONTINUATION Frames Early versions of `amphp/http-client` with HTTP/2 support (v4.0.0-rc10 to 4.0.0) 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. Later versions of `amphp/http-client` (v4.1.0-rc1 and up) depend on `amphp/http` for HTTP/2 processing and will therefore need an updated version of `amphp/http`, see [GHSA-qjfw-cvjf-f4fm](https://github.com/amphp/http/security/advisories/GHSA-qjfw-cvjf-f4fm). ## Acknowledgements Thank you to [Bartek Nowotarski](https://nowotarski.info/) for reporting the vulnerability.

Metadata

Created: 2024-04-03T18:49:42Z
Modified: 2024-04-03T18:49:42Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-w8gf-g2vq-j2f4/GHSA-w8gf-g2vq-j2f4.json
CWE IDs: ["CWE-770", "CWE-789"]
Alternative ID: N/A
Finding: F002
Auto approve: 1