CVE-2023-46240
highpriority · track · 30EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-27
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`.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-hwxf-qxj7-7rfjCodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment 2023-10-30ghsa · osvUS
### Impact If an error or exception occurs in CodeIgniter4 v4.4.2 and earlier, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. ### Patches Upgrade to v4.4.3 or later. See [upgrading guide](https://codeigniter4.github.io/userguide/installation/upgrade_443.html). ### Workarounds Replace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`. ### For more information If you have any questions or comments about this advisory: * Open an issue in [codeigniter4/CodeIgniter4](https://github.com/codeigniter4/CodeIgniter4/issues) * Email us at [SECURITY.md](https://github.com/codeigniter4/CodeIgniter4/blob/develop/SECURITY.md)
- BIT-codeigniter-2023-462402024-03-06vendor · osvUS
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`.
also known as (5)
Other names and identifiers for this entity.
- CNNVD-202310-2702cnnvd
- EUVD-2023-2754enisa_euvd
- GHSA-hwxf-qxj7-7rfjenisa_euvd
- BIT-codeigniter-2023-46240osv
- GHSA-hwxf-qxj7-7rfjosv
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://codeigniter4.github.io/userguide/general/errors.html#error-reportingcnnvd
- https://cxsecurity.com/cveshow/CVE-2023-46240/cnnvd
- https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563cnnvd
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfjcnnvd
- https://codeigniter4.github.io/userguide/general/errors.html#error-reportingenisa_euvd
- https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563enisa_euvd
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfjenisa_euvd
- https://codeigniter4.github.io/userguide/general/errors.html#error-reportingProductnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan