Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xamZ3LWN2amYtZjRmbc4AA6l3

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 for reporting the vulnerability.

Permalink: https://github.com/advisories/GHSA-qjfw-cvjf-f4fm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xamZ3LWN2amYtZjRmbc4AA6l3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 month ago
Updated: 2 days ago


CVSS Score: 8.2
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Identifiers: GHSA-qjfw-cvjf-f4fm, CVE-2024-2653
References: Repository: https://github.com/amphp/http
Blast Radius: 22.0

Affected Packages

packagist:amphp/http-client
Dependent packages: 82
Dependent repositories: 479
Downloads: 2,672,554 total
Affected Version Ranges: >= 4.0.0-rc10, <= 4.0.0
No known fixed version
All affected versions: 4.0.0, 4.0.0-rc2, 4.0.0-rc3, 4.0.0-rc4, 4.0.0-rc5, 4.0.0-rc6, 4.0.0-rc7, 4.0.0-rc8, 4.0.0-rc9, 4.0.0-rc10, 4.0.0-rc11
packagist:amphp/http
Dependent packages: 33
Dependent repositories: 421
Downloads: 3,650,850 total
Affected Version Ranges: <= 1.7.2, >= 2.0.0, <= 2.1.0
Fixed in: 1.7.3, 2.1.1
All affected versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.7.2, 2.0.0, 2.1.0
All unaffected versions: 1.7.3, 2.1.1