CVE-2024-29904 CodeIgniter4 Language class DoS Vulnerability

High 7.5 Published Updated

An attacker can cause a denial of service by consuming excessive server memory through the Language class in CodeIgniter4.

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-29904?

CVE-2024-29904 is a high-severity denial of service vulnerability in CodeIgniter4, published on 29 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CodeIgniter is a PHP full-stack web framework A vulnerability was found in the Language class that allowed DoS attacks. This vulnerability can be exploited by an attacker to consume a large amount of memory on the server. Upgrade to v4.4.7 or later.

Weakness: CWE-674, CWE-835

Which versions are affected by CVE-2024-29904?

2 open source packages ship an affected version, including codeigniter4/framework. It affects 1 product.

PackageAffectedFixed in
codeigniter4/framework PackagistAll versions4.4.7
codeigniter4/framework PackagistAll versions4.4.7

Products include Codeigniter Codeigniter.

How do I fix CVE-2024-29904?

Upgrade codeigniter4/framework to 4.4.7 or later.

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-29904 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29904 exists.

Sources

Also known as GHSA-39fp-mqmm-gxj6.

Is CVE-2024-29904 in your software?

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

Check your SBOMs for free