HighGHSA-j8p3-8m69-2hqqCVE-2016-4793

CakePHP allows remote attackers to spoof their IP

Published 14 May 2022 · Updated 18 Feb 2024

Affected packages

Affected
>=1.2.0 <2.6.13
Fixed in
2.6.13
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.6.13
Affected
>=2.7.0-rc1 <2.7.11
Fixed in
2.7.11
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.7.11
Affected
>=2.8.0-rc1 <2.8.2
Fixed in
2.8.2
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^2.8.2
Affected
>=3.0.0-rc1 <3.0.17
Fixed in
3.0.17
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.0.17
Affected
>=3.1.0-beta1 <3.1.12
Fixed in
3.1.12
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.1.12
Affected
>=3.2.0-rc1 <3.2.5
Fixed in
3.2.5
Update to the fixed version for your release line, for example:composer require cakephp/cakephp:^3.2.5

Details

The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.

Is GHSA-j8p3-8m69-2hqq 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.