CVE-2023-46240
HIGH7.5EPSS 0.43%CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment
Published: 10/30/2023Modified: 3/6/2024
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 packages (2)
- Bitnami/codeigniterfrom 0, < 4.4.3
- Packagist/codeigniter4/frameworkfrom 0, < 4.4.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-46240
- PATCHhttps://github.com/codeigniter4/CodeIgniter4
- WEBhttps://codeigniter4.github.io/userguide/general/errors.html#error-reporting
- WEBhttps://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563
- WEBhttps://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj