GHSA-5qxq-vgmm-q39m
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | pimcore/pimcore | < 10.5.9 | 10.5.9 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
The user controlled twig templates rendering in `Pimcore/Mail` & `ClassDefinition\Layout\Text` is vulnerable to server-side template Injection RCE.
### Patches
Update to version 10.5.9 or apply this patch manually https://github.com/pimcore/pimcore/pull/13347.patch
### Workarounds
Apply https://github.com/pimcore/pimcore/pull/13347.patch manually.
### References
Credits: @nth347 from Viettel Cyber Security
References
External links from the advisory. They lead to third-party sites.
- https://github.com/pimcore/pimcore/security/advisories/GHSA-5qxq-vgmm-q39m
- https://nvd.nist.gov/vuln/detail/CVE-2022-39365
- https://github.com/pimcore/pimcore/pull/13347
- https://github.com/pimcore/pimcore/pull/13347.patch
- https://github.com/pimcore/pimcore/commit/43aa34e018f5cd447bceb864358285ba92f68372
- https://github.com/pimcore/pimcore