VDB
Sign up
HIGH7.5

GHSA-qhrx-hcm6-pmrw

Unsafe deserialization in SmtpTransport in CakePHP

Quick fix

GHSA-qhrx-hcm6-pmrw — cakephp/cakephp: upgrade to the fixed version with the command below.

composer require cakephp/cakephp:^3.5.18

Details

An issue was discovered in SmtpTransport in CakePHP 3.7.6. An unserialized object with modified internal properties can trigger arbitrary file overwriting upon destruction.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/cakephp/cakephp
Introduced in: 3.0.0Fixed in: 3.5.18
Fixcomposer require cakephp/cakephp:^3.5.18
Packagist/cakephp/cakephp
Introduced in: 3.6.0Fixed in: 3.6.15
Fixcomposer require cakephp/cakephp:^3.6.15
Packagist/cakephp/cakephp
Introduced in: 3.7.0Fixed in: 3.7.7
Fixcomposer require cakephp/cakephp:^3.7.7

References