CVE-2022-21647

Deserialization of Untrusted Data in Codeigniter4

Published Jan 4, 2022 CVSS 3.1 · 7.7 High EPSS 37.7% KEV · Not listed
Description
CodeIgniter is an open source PHP full-stack web framework. Deserialization of Untrusted Data was found in the `old()` function in CodeIgniter4. Remote attackers may inject auto-loadable arbitrary objects with this vulnerability, and possibly execute existing PHP code on the server. We are aware of a working exploit, which can lead to SQL injection. Users are advised to upgrade to v4.1.6 or later. Users unable to upgrade as advised to not use the `old()` function and form_helper nor `RedirectResponse::withInput()` and `redirect()->withInput()`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w6jr-wj64-mc9x Deserialization of Untrusted Data in Codeigniter4
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 7:14 PM
Reserved
Nov 16, 2021, 12:00 AM
Status
Modified
Published
Jan 4, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:26 AM