What’s Vulnerable › Vulnerabilities

CVE-2023-46240: CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

Description

CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. Version 4.4.3 contains a patch. As a workaround, replace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`.

Affected products

How to fix

Upgrade to a fixed version: CodeIgniter4 4.4.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-46240 or the next vulnerability affects your stack