CVE-2024-2653 CVE-2024-2653

High 8.2 Published Updated

An attacker can cause an out-of-memory crash in the amphp/http library by sending unbounded CONTINUATION frames, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-2653?

CVE-2024-2653 is a high-severity denial of service vulnerability in amphp/http, published on 3 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2024-2653?

6 open source packages ship an affected version, including amphp/http and amphp/http-client.

PackageAffectedFixed in
amphp/http PackagistAll versions1.7.3
amphp/http PackagistAll versions1.7.3
amphp/http PackagistFrom 2.0.02.1.1
amphp/http PackagistFrom 2.0.02.1.1
amphp/http-client PackagistFrom 4.0.0-rc10 to 4.0.0None
amphp/http-client PackagistFrom 4.0.0-rc10 to 4.0.0None

How do I fix CVE-2024-2653?

Upgrade amphp/http to a fixed version for your release line: 1.7.3 or 2.1.1.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-2653 being exploited?

There is no known exploitation of CVE-2024-2653 in the wild and no public exploit code.

Sources

Also known as GHSA-qjfw-cvjf-f4fm.

Is CVE-2024-2653 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free