{"id":"CVE-2023-46240","published":"2023-10-31T15:03:51Z","modified":"2024-09-05T17:36:02Z","title":"CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment","vendor":"codeigniter4","product":"CodeIgniter4","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00777,"percentile":0.56727,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563","tags":["x_refsource_MISC"]},{"url":"https://codeigniter4.github.io/userguide/general/errors.html#error-reporting","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":11.35},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"CodeIgniter4","versions":["< 4.4.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-05T17:35:16.659348Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"codeigniter4/framework","vulnerableRanges":["<4.4.3"],"patched":["4.4.3"],"from":["GHSA-hwxf-qxj7-7rfj"],"provenance":"source"}],"summary":{"text":"The CodeIgniter4 framework (product CodeIgniter4, from the codeigniter4 vendor) contains a flaw in its error handling, where a detailed error report that can expose sensitive information is shown even when the application runs in production, with versions prior to 4.4.3 affected. An attacker with network access can trigger an error or exception in the application and read the resulting detailed report, with no authentication or user interaction required and no special configuration needed beyond the default production setup.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:20Z"},"euvd":{"id":"EUVD-2023-2754","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-23556","published":"2022-12-22","fixed":"4.2.11","kev":false},{"cve":"CVE-2022-46170","published":"2022-12-22","fixed":"4.2.11","kev":false},{"cve":"CVE-2023-32692","published":"2023-05-30","fixed":"4.3.5","kev":false,"link":{"from":"CVE-2023-32692","to":"CVE-2023-46240","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/framework","fromFixed":"4.3.5","toFixed":"4.4.3","daysApart":154}]}},{"cve":"CVE-2023-46240","published":"2023-10-31","fixed":"4.4.3","kev":false},{"cve":"CVE-2024-29904","published":"2024-03-29","fixed":"4.4.7","kev":false,"link":{"from":"CVE-2023-46240","to":"CVE-2024-29904","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/framework","fromFixed":"4.4.3","toFixed":"4.4.7","daysApart":150}]}},{"cve":"CVE-2025-24013","published":"2025-01-20","fixed":"4.5.8","kev":false},{"cve":"CVE-2025-54418","published":"2025-07-28","fixed":"4.6.2","kev":false}],"package":"Packagist:codeigniter4/framework"}}