Arbitrary Code Execution Affecting codeigniter4/framework package, versions <4.3.5


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CODEIGNITER4FRAMEWORK-5595551
  • published23 May 2023
  • disclosed22 May 2023
  • creditUnknown

Introduced: 22 May 2023

CVE-2023-32692  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade codeigniter4/framework to version 4.3.5 or higher.

Overview

codeigniter4/framework is a PHP full-stack web framework that is light, fast, flexible, and secure.

Affected versions of this package are vulnerable to Arbitrary Code Execution. If Validation Placeholders are in use input validation can be bypassed.

Workaround

This vulnerability can be avoided by setting validation rules with an array, e.g.:

$validation->setRules([
    'email' => ['required', 'valid_email, 'is_unique[users.email,id,{id}]'],
]);

CVSS Scores

version 3.1