CVE-2023-46240 json
CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment
published 2023-10-30 3 y ago modified 2026-06-17 4 mo ago also BIT-codeigniter-2023-46240 , EUVD-2023-2754 , GHSA-hwxf-qxj7-7rfj
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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`.
Patch / fix
- packagist codeigniter4/framework 4.4.3
- bitnami codeigniter 4.4.3
- codeigniter codeigniter 4.4.3
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | codeigniter4/framework | <4.4.3 |
4.4.3 |
| bitnami | codeigniter | <4.4.3 |
4.4.3 |
Affected products
- codeigniter4 CodeIgniter4
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
github.com
/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563
web, patch
-
github.com
/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj
web, vendor-advisory
-
codeigniter4.github.io
/userguide/general/errors.html#error-reporting
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-46240
advisory
-
github.com
/codeigniter4/CodeIgniter4
package
Sources
- CVE List CVE-2023-46240
- GitHub Advisory GHSA-hwxf-qxj7-7rfj
- NVD CVE-2023-46240
- OSV BIT-codeigniter-2023-46240
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.