CVE-2023-22727

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-22727
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22727.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-22727
Aliases
Related
Published
2023-01-17T21:15:16Z
Modified
2024-08-01T06:10:01.028Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cakephp/cakephp

Affected ranges

Type
GIT
Repo
https://github.com/cakephp/cakephp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3-dev
1.3.0
1.3.0-RC1
1.3.0-RC2
1.3.0-RC3
1.3.0-RC4
1.3.0-alpha
1.3.0-beta
1.3.1
1.3.10
1.3.11
1.3.12
1.3.13
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9

2.*

2.0.0
2.0.0-RC1
2.0.0-RC2
2.0.0-RC3
2.0.0-alpha
2.0.0-beta
2.0.0-dev
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.0-RC
2.1.0-alpha
2.1.0-beta
2.1.1
2.1.2
2.1.3
2.2.0
2.2.0-RC1
2.2.0-RC2
2.2.0-beta
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.3.0
2.3.0-RC1
2.3.0-RC2
2.3.0-beta
2.3.1
2.3.10
2.3.2
2.3.3
2.3.4
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