{"id":"CVE-2022-21647","published":"2022-01-04T20:05:11Z","modified":"2025-04-23T19:14:59Z","title":"Deserialization of Untrusted Data in Codeigniter4","vendor":"codeigniter4","product":"CodeIgniter4","tier":"tail","description":{"text":"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()`.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.37671,"percentile":0.98572,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-w6jr-wj64-mc9x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/ce95ed5765256e2f09f3513e7d42790e0d6948f5","tags":["x_refsource_MISC"]}],"priority":{"score":25.1,"factors":[{"name":"EPSS percentile","points":19.71},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"CodeIgniter4","versions":["< 4.1.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:12:44.335893Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"codeigniter4/framework","vulnerableRanges":["<4.1.6"],"patched":["4.1.6"],"from":["GHSA-w6jr-wj64-mc9x"],"provenance":"source"}],"summary":{"text":"The flaw is a deserialization of untrusted data vulnerability in the old() function of CodeIgniter4, the PHP full-stack web framework. An attacker can inject auto-loadable arbitrary objects through this function, with the potential to execute existing PHP code on the server; the vector indicates it is reachable over the network, requires no privileges or user interaction, and has high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:01Z"},"euvd":{"id":"EUVD-2022-0719","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-1000247","published":"2017-11-17","fixed":"3.1.4","kev":false},{"cve":"CVE-2022-21647","published":"2022-01-04","fixed":"4.1.6","kev":false},{"cve":"CVE-2022-21715","published":"2022-01-24","fixed":"4.1.8","kev":false,"link":{"from":"CVE-2022-21647","to":"CVE-2022-21715","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/framework","fromFixed":"4.1.6","toFixed":"4.1.8","daysApart":20}]}},{"cve":"CVE-2022-24711","published":"2022-02-28","fixed":"4.1.9","kev":false},{"cve":"CVE-2022-24712","published":"2022-02-28","fixed":"4.1.9","kev":false}],"package":"Packagist:codeigniter4/framework"}}