Advisory

GHSA-39fp-mqmm-gxj6

Also known as: CVE-2024-29904

Summary

CodeIgniter4 DoS Vulnerability

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-03-29 16:36 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

codeigniter4/framework

Packagist · All systems

Affected

  • introduced 0, fixed 4.4.7 (ecosystem)

Fixed versions

4.4.7

Fix

The export has no generic command for this ecosystem.

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