Advisory

GHSA-hwxf-qxj7-7rfj

Also known as: BIT-codeigniter-2023-46240, CVE-2023-46240

Summary

CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

Details

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.

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-10-30 15:18 UTC
Modified
2024-02-16 08:24 UTC

Affected packages and fixes

codeigniter4/framework

Packagist · All systems

Affected

  • introduced 0, fixed 4.4.3 (ecosystem)

Fixed versions

4.4.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences