ubuntu-cve-2023-22727
Vulnerability from osv_ubuntu
Published
2023-01-17 21:15
Modified
2025-10-24 05:01
Summary
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.
Severity
9.8 (Critical)
9.8 (Critical)
N/A (UNKNOWN)
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cakephp",
"binary_version": "2.8.0-1"
},
{
"binary_name": "cakephp-scripts",
"binary_version": "2.8.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "cakephp",
"purl": "pkg:deb/ubuntu/cakephp@2.8.0-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.2-1",
"2.8.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cakephp",
"binary_version": "2.10.11-2"
},
{
"binary_name": "cakephp-scripts",
"binary_version": "2.10.11-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "cakephp",
"purl": "pkg:deb/ubuntu/cakephp@2.10.11-2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.10.11-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cakephp",
"binary_version": "2.10.24-1"
},
{
"binary_name": "cakephp-scripts",
"binary_version": "2.10.24-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cakephp",
"purl": "pkg:deb/ubuntu/cakephp@2.10.24-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.10.11-2.1",
"2.10.24-1"
]
}
],
"aliases": [],
"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\u0027s Pagination library. Manually validating or casting parameters to these methods will also mitigate the issue.",
"id": "UBUNTU-CVE-2023-22727",
"modified": "2025-10-24T05:01:46Z",
"published": "2023-01-17T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-22727"
},
{
"type": "REPORT",
"url": "https://bakery.cakephp.org/2023/01/06/cakephp_4211_4311_4410_released.html"
},
{
"type": "REPORT",
"url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-6g8q-qfpv-57wp"
},
{
"type": "REPORT",
"url": "https://github.com/cakephp/cakephp/commit/3f463e7084b5a15e67205ced3a622577cca7a239"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-22727"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-22727"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…