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.
Thank you to Bartek Nowotarski for reporting the vulnerability.
{
"cwe_ids": [],
"severity": "HIGH",
"nvd_published_at": "2024-04-03T18:15:07Z",
"github_reviewed_at": "2024-04-03T18:06:45Z",
"github_reviewed": true
}