CVE-2023-46240
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`.
How to fix
- codeigniter codeigniter4.4.3 or later
- codeigniter4/framework4.4.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| codeigniter codeigniter | v < 4.4.3 | 4.4.3 |
| codeigniter4/frameworkPackagist | v < 4.4.3 | 4.4.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.