Advisory

GHSA-qjfw-cvjf-f4fm

Also known as: CVE-2024-2653

Summary

AMPHP Denial of Service via HTTP/2 CONTINUATION Frames

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-04-03 18:06 UTC
Modified
2026-07-08 06:52 UTC

Affected packages and fixes

amphp/http

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.1.1 (ecosystem)

Fixed versions

2.1.1

Fix

The export has no generic command for this ecosystem.

amphp/http

Packagist · All systems

Affected

  • introduced 0, fixed 1.7.3 (ecosystem)

Fixed versions

1.7.3

Fix

The export has no generic command for this ecosystem.

amphp/http-client

Packagist · All systems

Affected

  • introduced 4.0.0-rc10, last affected 4.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences