{"id":"CVE-2023-46240","aliases":["CVE-2023-46240","GHSA-hwxf-qxj7-7rfj","BIT-CODEIGNITER-2023-46240"],"related":[],"kind":"vulnerability","state":"published","title":"CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment","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`.","summarySource":"cvelist","descriptions":[{"lang":"en","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`.","source":"cvelist"},{"lang":"en","text":"### Impact\nIf 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.\n\n### Patches\nUpgrade to v4.4.3 or later. See [upgrading guide](https://codeigniter4.github.io/userguide/installation/upgrade_443.html).\n\n### Workarounds\nReplace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [codeigniter4/CodeIgniter4](https://github.com/codeigniter4/CodeIgniter4/issues)\n* Email us at [SECURITY.md](https://github.com/codeigniter4/CodeIgniter4/blob/develop/SECURITY.md)","format":"markdown","source":"ghsa"},{"lang":"es","text":"CodeIgniter es un framework web PHP de pila completa. Antes de CodeIgniter4 versión 4.4.3, si se producía un error o una excepción, se mostraba un informe de error detallado incluso en el entorno de producción. Como resultado, se puede filtrar información confidencial. La versión 4.4.3 contiene un parche. Como workaround, reemplace `ini_set('display_errors', '0')` con `ini_set('display_errors', 'Off')` en `app/Config/Boot/production.php`.","source":"nvd"}],"published":"2023-10-30T15:18:56.000Z","modified":"2026-06-17T06:30:29.800Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"version":"< 4.4.3","status":"affected"}],"vendor":"codeigniter4","product":"CodeIgniter4","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.4.3"}],"ecosystem":"Packagist","package":"codeigniter4/framework","purl":"pkg:composer/codeigniter4/framework","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.4.3"}],"vendor":"codeigniter","product":"codeigniter","cpe":"cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.4.3"}],"ecosystem":"Bitnami","package":"codeigniter","purl":"pkg:bitnami/codeigniter","source":"bitnami"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-hwxf-qxj7-7rfj","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/423569fc31e29f51635a2e59c89770333f0e7563","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://codeigniter4.github.io/userguide/general/errors.html#error-reporting","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46240","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/codeigniter4/CodeIgniter4","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-05T17:35:16.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46240","url":"https://www.cve.org/CVERecord?id=CVE-2023-46240","licence":"CVE Terms of Use","modified":"2024-09-05T17:36:02.600Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hwxf-qxj7-7rfj","url":"https://github.com/advisories/GHSA-hwxf-qxj7-7rfj","licence":"CC-BY-4.0","modified":"2024-02-16T08:24:16.879Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46240","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46240","licence":"Public domain","modified":"2026-06-17T06:30:29.800Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CODEIGNITER-2023-46240","url":"https://osv.dev/vulnerability/BIT-CODEIGNITER-2023-46240","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:29.866Z","epss":{"score":0.00878,"percentile":0.5686,"date":"2026-11-30T12:00:22.000Z"}}