MediumGHSA-6hg4-vp5q-47mw

CakePHP allows direct access of prefixed controller actions

Published 20 Jan 2023 · Updated 29 Nov 2024

Affected packages

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.99
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.99
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.99
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.99
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.99
Affected
>=2.5.0 <2.5.9
Fixed in
2.5.9
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.5.9
Affected
>=2.6.0 <2.6.11
Fixed in
2.6.11
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.6.11
Affected
>=2.7.0 <2.7.2
Fixed in
2.7.2
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.7.2

Details

Unconventional URL paths would allow direct access to prefixed actions without setting the correct request parameters.

Is GHSA-6hg4-vp5q-47mw 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.