MediumGHSA-p76f-wr22-4rv6
CakePHP vulnerable to Remote File Inclusion through View template name manipulation
Published 20 Jan 2023 · Updated 29 Nov 2024
Affected packages
cakephp/cakephpComposer
- Affected
- >=2.0.0 <2.0.99
- Fixed in
- 2.0.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.0.99cakephp/cakephpComposer
- Affected
- >=2.1.0 <2.1.99
- Fixed in
- 2.1.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.1.99cakephp/cakephpComposer
- Affected
- >=2.2.0 <2.2.99
- Fixed in
- 2.2.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.2.99cakephp/cakephpComposer
- Affected
- >=2.3.0 <2.3.99
- Fixed in
- 2.3.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.3.99cakephp/cakephpComposer
- Affected
- >=2.4.0 <2.4.99
- Fixed in
- 2.4.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.4.99cakephp/cakephpComposer
- Affected
- >=2.5.0 <2.5.99
- Fixed in
- 2.5.99
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.5.99cakephp/cakephpComposer
- Affected
- >=2.6.0 <2.6.12
- Fixed in
- 2.6.12
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.6.12cakephp/cakephpComposer
- Affected
- >=2.7.0 <2.7.6
- Fixed in
- 2.7.6
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^2.7.6cakephp/cakephpComposer
- Affected
- >=3.0.0 <3.0.15
- Fixed in
- 3.0.15
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.0.15cakephp/cakephpComposer
- Affected
- >=3.1.0 <3.1.4
- Fixed in
- 3.1.4
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.1.4Details
CakePHP 2.x prior to 2.0.99, 2.1.99, 2.2.99, 2.3.99, 2.4.99, 2.5.99, 2.6.12, and 2.7.6 and 3.x prior to 3.0.15 and 3.1.4 is vulnerable to Remote File Inclusion through View template name manipulation.
Is GHSA-p76f-wr22-4rv6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.