Skip to content
OpenAdvisories
High · 7.5 CVE-2023-46240 BIT-codeigniter-2023-46240EUVD-2023-2754GHSA-hwxf-qxj7-7rfj

CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

Published Oct 31, 2023 · Updated Sep 5, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
codeigniter4 CodeIgniter4 < 4.4.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist codeigniter4/framework < 4.4.3 4.4.3 GHSA-hwxf-qxj7-7rfj

References