Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | cakephp/cakephp | >= 3.0.0, < 3.5.18 | 3.5.18 | GHSA-qhrx-hcm6-pmrw |
| Packagist | cakephp/cakephp | >= 3.6.0, < 3.6.15 | 3.6.15 | GHSA-qhrx-hcm6-pmrw |
| Packagist | cakephp/cakephp | >= 3.7.0, < 3.7.7 | 3.7.7 | GHSA-qhrx-hcm6-pmrw |
References
- https://github.com/cakephp/cakephp/releases
- https://github.com/cakephp/cakephp/compare/3.7.6...3.7.7
- https://github.com/cakephp/cakephp/commits/master
- https://bakery.cakephp.org/2019/04/23/cakephp_377_3615_3518_released.html
- https://github.com/cakephp/cakephp/commit/1a74e798309192a9895c9cedabd714ceee345f4e