CVE-2024-29904: CodeIgniter4 DoS Vulnerability

Published Mar 29, 2024
·
Updated

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/commonfunctions.html#lang

Other sources

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.

— MITRE

Affected Software

3 affected componentsFixes available
CodeIgniter Codeigniter<4.4.7
composer/codeigniter4/framework<4.4.7
4.4.7
composer/codeigniter4/framework<4.4.7
4.4.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/codeigniter4/framework to a version that resolves this vulnerability.

    Fixed in 4.4.7
  2. Upgrade

    Upgrade CodeIgniter4 to a version that resolves this vulnerability.

    Fixed in v4.4.7
  3. Configuration

    Disable Auto Routing to prevent the known attack vector.

    CodeIgniter4 Auto Routing = disabled
  4. Compensating control

    Do not pass invalid values to the lang() function or Language class.

Event History

Mar 29, 2024
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·04:36 PM
Data Sourced
via GitHub·04:36 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·04:36 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-29904?

CVE-2024-29904 is a medium severity vulnerability that allows for Denial of Service (DoS) attacks by consuming excessive memory on the server.

2

How do I fix CVE-2024-29904?

To resolve CVE-2024-29904, upgrade to version 4.4.7 or later of the CodeIgniter framework.

3

What software is affected by CVE-2024-29904?

CVE-2024-29904 affects versions of the CodeIgniter 4 framework prior to 4.4.7.

4

Can CVE-2024-29904 be exploited remotely?

Yes, CVE-2024-29904 can be exploited by attackers remotely to launch Denial of Service attacks.

5

Is there a patch available for CVE-2024-29904?

Yes, a patch is available and can be applied by upgrading to CodeIgniter framework version 4.4.7 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203