HighGHSA-39fp-mqmm-gxj6CVE-2024-29904

CodeIgniter4 DoS Vulnerability

Published 29 Mar 2024 · Updated 10 Sept 2026

Affected package

Affected
<4.4.7
Fixed in
4.4.7
Update to the fixed version for your release line, for example:composer require codeigniter4/framework:^4.4.7

Details

Impact

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.

Patches

Upgrade to v4.4.7 or later. See upgrading guide.

Workarounds

  • Disabling Auto Routing prevents a known attack vector in the framework.
  • Do not pass invalid values to the lang() function or Language class.

References

  • https://codeigniter4.github.io/userguide/outgoing/localization.html#language-localization
  • https://codeigniter4.github.io/userguide/general/common_functions.html#lang

Is GHSA-39fp-mqmm-gxj6 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected codeigniter4/framework, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.