SCA: security update for cakephp/cakephp, cakephp/database (GHSA-6g8q-qfpv-57wp)

critical Tenable Cloud Security Plugin ID 411428

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- CakePHP is a development framework for PHP web apps. In affected versions the
`Cake\Database\Query::limit()` and `Cake\Database\Query::offset()` methods are vulnerable to SQL injection
if passed un-sanitized user request data. This issue has been fixed in 4.2.12, 4.3.11, 4.4.10. Users are
advised to upgrade. Users unable to upgrade may mitigate this issue by using CakePHP's Pagination library.
Manually validating or casting parameters to these methods will also mitigate the issue. (CVE-2023-22727)

See Also

https://github.com/advisories/GHSA-6g8q-qfpv-57wp

Plugin Details

Severity: Critical

ID: 411428

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-22727

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/20/2023

Vulnerability Publication Date: 1/17/2023

Reference Information

CVE: CVE-2023-22727

cwe: CWE-89