GitHub Advisory Database
GHSA-5qxq-vgmm-q39m
RCE vulnerability in Pimcore/Mail & Dynamic Text Layout
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | pimcore/pimcore | All versions before 10.5.9 (fixed in 10.5.9) |
References
- 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