GitHub Advisory Database
GHSA-qhrx-hcm6-pmrw
Unsafe deserialization in SmtpTransport in CakePHP
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | cakephp/cakephp | From 3.0.0 before 3.5.18 (fixed in 3.5.18) |
| Packagist | cakephp/cakephp | From 3.6.0 before 3.6.15 (fixed in 3.6.15) |
| Packagist | cakephp/cakephp | From 3.7.0 before 3.7.7 (fixed in 3.7.7) |
References
- 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