CVE-2022-21647

    Dashboard / Vulnerabilities / CVE-2022-21647

    CVE-2022-21647

    Published: 4 Jan 2022Last Modified: 12 Aug 2026

    Summary: Deserialization of Untrusted Data in Codeigniter4

    Details: 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()`.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 47dbb16bb5e5784f45bf09a7380016f2d36f7c39

    Affected versions

    v4.1.5
    v4.1.4
    v4.1.3
    v4.1.2
    v4.1.1
    v4.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-21647 | CVE-DB