Patchfirst
CVE-2024-2653 High · 8.2 EPSS 80.1%

CVE-2024-2653

Fix:upgrade http Versions ↓

AMPHP · amphp/http-client

Summary

The amphp/http-client library (vendor AMPHP) has a flaw in how it handles HTTP/2 CONTINUATION frames: it accumulates them in an unbounded buffer and does not enforce a size limit until the END_HEADERS flag is received. An attacker with network access to a service using this client can exploit it without authentication, user interaction, or special configuration, causing the process to run out of memory and crash.

Official description · CVE.org

amphp/http will collect CONTINUATION frames in an unbounded buffer and will not check a limit until it has received the set END_HEADERS flag, resulting in an OOM crash.

Breakdown
25.7 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 3 Apr 2024. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

AMPHP amphp/http-client

Affected: >= v4.0.0-rc10, <= 4.0.0

AMPHP amphp/http

Affected: >= v1.6.0-rc1, <= 1.7.2

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Packagistamphp/http
    Affected: 2.0.0 up to 2.1.1; All versions before 1.7.3Upgrade to 2.1.1 or later (older lines: 1.7.3)
  • Packagistamphp/http-client
    Affected: 4.0.0-rc10 through 4.0.0No fixed version published

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close