GHSA-qhrx-hcm6-pmrw
Unsafe deserialization in SmtpTransport in CakePHP
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | cakephp/cakephp | >= 3.0.0, < 3.5.18 | 3.5.18 |
| Packagist | cakephp/cakephp | >= 3.6.0, < 3.6.15 | 3.6.15 |
| Packagist | cakephp/cakephp | >= 3.7.0, < 3.7.7 | 3.7.7 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-11458
- https://github.com/cakephp/cakephp/commit/1a74e798309192a9895c9cedabd714ceee345f4e
- https://github.com/cakephp/cakephp/commit/81412fbe2cb88a304dbeeece1955bc0aec98edb1
- https://github.com/cakephp/cakephp/commit/c25b91bf7c72db43c01b47a634fd02112ff9f1cd
- https://bakery.cakephp.org/2019/04/23/cakephp_377_3615_3518_released.html
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/CVE-2019-11458.yaml
- https://github.com/cakephp/cakephp
- https://github.com/cakephp/cakephp/commits/master
- https://github.com/cakephp/cakephp/compare/3.7.6...3.7.7
- https://github.com/cakephp/cakephp/releases